| 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 #include <limits.h> |
| 41 #include "v8stdint.h" | 42 #include "v8stdint.h" |
| 42 | 43 |
| 43 #ifdef _WIN32 | 44 #ifdef _WIN32 |
| 44 | 45 |
| 45 // Setup for Windows DLL export/import. When building the V8 DLL the | 46 // Setup for Windows DLL export/import. When building the V8 DLL the |
| 46 // BUILDING_V8_SHARED needs to be defined. When building a program which uses | 47 // BUILDING_V8_SHARED needs to be defined. When building a program which uses |
| 47 // the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8 | 48 // the V8 DLL USING_V8_SHARED needs to be defined. When either building the V8 |
| 48 // static library or building a program which uses the V8 static library neither | 49 // static library or building a program which uses the V8 static library neither |
| 49 // BUILDING_V8_SHARED nor USING_V8_SHARED should be defined. | 50 // BUILDING_V8_SHARED nor USING_V8_SHARED should be defined. |
| 50 #if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED) | 51 #if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED) |
| (...skipping 6241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6292 | 6293 |
| 6293 | 6294 |
| 6294 } // namespace v8 | 6295 } // namespace v8 |
| 6295 | 6296 |
| 6296 | 6297 |
| 6297 #undef V8EXPORT | 6298 #undef V8EXPORT |
| 6298 #undef TYPE_CHECK | 6299 #undef TYPE_CHECK |
| 6299 | 6300 |
| 6300 | 6301 |
| 6301 #endif // V8_H_ | 6302 #endif // V8_H_ |
| OLD | NEW |