OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 13 matching lines...) Expand all Loading... |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #ifndef V8_D8_H_ | 28 #ifndef V8_D8_H_ |
29 #define V8_D8_H_ | 29 #define V8_D8_H_ |
30 | 30 |
31 #ifndef V8_SHARED | 31 #ifndef V8_SHARED |
32 #include "allocation.h" | 32 #include "allocation.h" |
33 #include "hashmap.h" | 33 #include "hashmap.h" |
34 #include "smart-array-pointer.h" | 34 #include "smart-pointers.h" |
35 #include "v8.h" | 35 #include "v8.h" |
36 #else | 36 #else |
37 #include "../include/v8.h" | 37 #include "../include/v8.h" |
38 #endif // V8_SHARED | 38 #endif // V8_SHARED |
39 | 39 |
40 namespace v8 { | 40 namespace v8 { |
41 | 41 |
42 | 42 |
43 #ifndef V8_SHARED | 43 #ifndef V8_SHARED |
44 // A single counter in a counter collection. | 44 // A single counter in a counter collection. |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 ExternalArrayType type, | 401 ExternalArrayType type, |
402 int32_t element_size); | 402 int32_t element_size); |
403 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); | 403 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); |
404 }; | 404 }; |
405 | 405 |
406 | 406 |
407 } // namespace v8 | 407 } // namespace v8 |
408 | 408 |
409 | 409 |
410 #endif // V8_D8_H_ | 410 #endif // V8_D8_H_ |
OLD | NEW |