v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 79 | skipping to change at line 79 | |||
#define V8EXPORT __attribute__ ((visibility("default"))) | #define V8EXPORT __attribute__ ((visibility("default"))) | |||
#else | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif | #endif | |||
#else | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif | #endif | |||
#endif // _WIN32 | #endif // _WIN32 | |||
// TODO(svenpanne) Remove this when the Chrome's v8 bindings have been adap | #if defined(__GNUC__) && !V8_DISABLE_DEPRECATIONS | |||
ted. | ||||
#define V8_DISABLE_DEPRECATIONS 1 | ||||
#if defined(__GNUC__) && !defined(V8_DISABLE_DEPRECATIONS) | ||||
#define V8_DEPRECATED(func) func __attribute__ ((deprecated)) | #define V8_DEPRECATED(func) func __attribute__ ((deprecated)) | |||
#elif defined(_MSC_VER) && !defined(V8_DISABLE_DEPRECATIONS) | #elif defined(_MSC_VER) && !V8_DISABLE_DEPRECATIONS | |||
#define V8_DEPRECATED(func) __declspec(deprecated) func | #define V8_DEPRECATED(func) __declspec(deprecated) func | |||
#else | #else | |||
#define V8_DEPRECATED(func) func | #define V8_DEPRECATED(func) func | |||
#endif | #endif | |||
/** | /** | |||
* The v8 JavaScript engine. | * The v8 JavaScript engine. | |||
*/ | */ | |||
namespace v8 { | namespace v8 { | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 2 lines changed or added | |||