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(dcarney): Remove once Latin-1 transitions in WebKit has stuck. | |
42 #define V8_ONE_BYTE_STRINGS_ENABLED 1 | |
43 | |
44 #include "v8stdint.h" | 41 #include "v8stdint.h" |
45 | 42 |
46 #ifdef _WIN32 | 43 #ifdef _WIN32 |
47 | 44 |
48 // Setup for Windows DLL export/import. When building the V8 DLL the | 45 // 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 | 46 // 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 | 47 // 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 | 48 // static library or building a program which uses the V8 static library neither |
52 // BUILDING_V8_SHARED nor USING_V8_SHARED should be defined. | 49 // BUILDING_V8_SHARED nor USING_V8_SHARED should be defined. |
53 #if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED) | 50 #if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED) |
(...skipping 4970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5024 | 5021 |
5025 | 5022 |
5026 } // namespace v8 | 5023 } // namespace v8 |
5027 | 5024 |
5028 | 5025 |
5029 #undef V8EXPORT | 5026 #undef V8EXPORT |
5030 #undef TYPE_CHECK | 5027 #undef TYPE_CHECK |
5031 | 5028 |
5032 | 5029 |
5033 #endif // V8_H_ | 5030 #endif // V8_H_ |
OLD | NEW |