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 22 matching lines...) Expand all Loading... |
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. | 41 // TODO(svenpanne) Remove me when the Chrome bindings are adapted. |
42 #define V8_DISABLE_DEPRECATIONS 1 | 42 #define V8_DISABLE_DEPRECATIONS 1 |
| 43 // TODO(dcarney): Remove once Latin-1 transitions in WebKit has stuck. |
| 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 |
51 // static library or building a program which uses the V8 static library neither | 53 // static library or building a program which uses the V8 static library neither |
52 // BUILDING_V8_SHARED nor USING_V8_SHARED should be defined. | 54 // BUILDING_V8_SHARED nor USING_V8_SHARED should be defined. |
(...skipping 4875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4928 | 4930 |
4929 | 4931 |
4930 } // namespace v8 | 4932 } // namespace v8 |
4931 | 4933 |
4932 | 4934 |
4933 #undef V8EXPORT | 4935 #undef V8EXPORT |
4934 #undef TYPE_CHECK | 4936 #undef TYPE_CHECK |
4935 | 4937 |
4936 | 4938 |
4937 #endif // V8_H_ | 4939 #endif // V8_H_ |
OLD | NEW |