| 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 | |
| 43 // TODO(dcarney): Remove once Latin-1 transitions in WebKit has stuck. | 41 // TODO(dcarney): Remove once Latin-1 transitions in WebKit has stuck. |
| 44 #define V8_ONE_BYTE_STRINGS_ENABLED 1 | 42 #define V8_ONE_BYTE_STRINGS_ENABLED 1 |
| 45 | 43 |
| 46 #include "v8stdint.h" | 44 #include "v8stdint.h" |
| 47 | 45 |
| 48 #ifdef _WIN32 | 46 #ifdef _WIN32 |
| 49 | 47 |
| 50 // Setup for Windows DLL export/import. When building the V8 DLL the | 48 // Setup for Windows DLL export/import. When building the V8 DLL the |
| 51 // BUILDING_V8_SHARED needs to be defined. When building a program which uses | 49 // BUILDING_V8_SHARED needs to be defined. When building a program which uses |
| 52 // the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8 | 50 // the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8 |
| (...skipping 4905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4958 | 4956 |
| 4959 | 4957 |
| 4960 } // namespace v8 | 4958 } // namespace v8 |
| 4961 | 4959 |
| 4962 | 4960 |
| 4963 #undef V8EXPORT | 4961 #undef V8EXPORT |
| 4964 #undef TYPE_CHECK | 4962 #undef TYPE_CHECK |
| 4965 | 4963 |
| 4966 | 4964 |
| 4967 #endif // V8_H_ | 4965 #endif // V8_H_ |
| OLD | NEW |