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 20 matching lines...) Expand all Loading... |
31 * | 31 * |
32 * This set of documents provides reference material generated from the | 32 * This set of documents provides reference material generated from the |
33 * V8 header file, include/v8.h. | 33 * V8 header file, include/v8.h. |
34 * | 34 * |
35 * For other documentation see http://code.google.com/apis/v8/ | 35 * For other documentation see http://code.google.com/apis/v8/ |
36 */ | 36 */ |
37 | 37 |
38 #ifndef V8_H_ | 38 #ifndef V8_H_ |
39 #define V8_H_ | 39 #define V8_H_ |
40 | 40 |
| 41 // TODO(svenpanne) Remove me when the Chrome bindings are adapted. |
| 42 #define V8_DISABLE_DEPRECATIONS 1 |
41 // TODO(dcarney): Remove once Latin-1 transitions in WebKit has stuck. | 43 // TODO(dcarney): Remove once Latin-1 transitions in WebKit has stuck. |
42 #define V8_ONE_BYTE_STRINGS_ENABLED 1 | 44 #define V8_ONE_BYTE_STRINGS_ENABLED 1 |
43 | 45 |
44 #include "v8stdint.h" | 46 #include "v8stdint.h" |
45 | 47 |
46 #ifdef _WIN32 | 48 #ifdef _WIN32 |
47 | 49 |
48 // Setup for Windows DLL export/import. When building the V8 DLL the | 50 // Setup for Windows DLL export/import. When building the V8 DLL the |
49 // BUILDING_V8_SHARED needs to be defined. When building a program which uses | 51 // BUILDING_V8_SHARED needs to be defined. When building a program which uses |
50 // the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8 | 52 // the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8 |
(...skipping 4970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5021 | 5023 |
5022 | 5024 |
5023 } // namespace v8 | 5025 } // namespace v8 |
5024 | 5026 |
5025 | 5027 |
5026 #undef V8EXPORT | 5028 #undef V8EXPORT |
5027 #undef TYPE_CHECK | 5029 #undef TYPE_CHECK |
5028 | 5030 |
5029 | 5031 |
5030 #endif // V8_H_ | 5032 #endif // V8_H_ |
OLD | NEW |