v8-preparser.h | v8-preparser.h | |||
---|---|---|---|---|
skipping to change at line 58 | skipping to change at line 58 | |||
#define V8EXPORT __declspec(dllimport) | #define V8EXPORT __declspec(dllimport) | |||
#else | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif // BUILDING_V8_SHARED | #endif // BUILDING_V8_SHARED | |||
#else // _WIN32 | #else // _WIN32 | |||
// Setup for Linux shared library export. There is no need to distinguish | // Setup for Linux shared library export. There is no need to distinguish | |||
// between building or using the V8 shared library, but we should not | // between building or using the V8 shared library, but we should not | |||
// export symbols when we are building a static library. | // export symbols when we are building a static library. | |||
#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(V8_SHARED) | #if defined(__GNUC__) && ((__GNUC__ >= 4) || \ | |||
(__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(V8_SHARED) | ||||
#define V8EXPORT __attribute__ ((visibility("default"))) | #define V8EXPORT __attribute__ ((visibility("default"))) | |||
#else // defined(__GNUC__) && (__GNUC__ >= 4) | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif // defined(__GNUC__) && (__GNUC__ >= 4) | #endif | |||
#endif // _WIN32 | #endif // _WIN32 | |||
namespace v8 { | namespace v8 { | |||
// The result of preparsing is either a stack overflow error, or an opaque | // The result of preparsing is either a stack overflow error, or an opaque | |||
// blob of data that can be passed back into the parser. | // blob of data that can be passed back into the parser. | |||
class V8EXPORT PreParserData { | class V8EXPORT PreParserData { | |||
public: | public: | |||
PreParserData(size_t size, const uint8_t* data) | PreParserData(size_t size, const uint8_t* data) | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||
v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
#elif USING_V8_SHARED | #elif USING_V8_SHARED | |||
#define V8EXPORT __declspec(dllimport) | #define V8EXPORT __declspec(dllimport) | |||
#else | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif | #endif | |||
#else // _WIN32 | #else // _WIN32 | |||
// Setup for Linux shared library export. See v8.h in this directory for | // Setup for Linux shared library export. See v8.h in this directory for | |||
// information on how to build/use V8 as shared library. | // information on how to build/use V8 as shared library. | |||
#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(V8_SHARED) | #if defined(__GNUC__) && ((__GNUC__ >= 4) || \ | |||
(__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(V8_SHARED) | ||||
#define V8EXPORT __attribute__ ((visibility("default"))) | #define V8EXPORT __attribute__ ((visibility("default"))) | |||
#else // defined(__GNUC__) && (__GNUC__ >= 4) | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif // defined(__GNUC__) && (__GNUC__ >= 4) | #endif | |||
#endif // _WIN32 | #endif // _WIN32 | |||
/** | /** | |||
* Profiler support for the V8 JavaScript engine. | * Profiler support for the V8 JavaScript engine. | |||
*/ | */ | |||
namespace v8 { | namespace v8 { | |||
typedef uint32_t SnapshotObjectId; | typedef uint32_t SnapshotObjectId; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||
v8-testing.h | v8-testing.h | |||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
#elif USING_V8_SHARED | #elif USING_V8_SHARED | |||
#define V8EXPORT __declspec(dllimport) | #define V8EXPORT __declspec(dllimport) | |||
#else | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif | #endif | |||
#else // _WIN32 | #else // _WIN32 | |||
// Setup for Linux shared library export. See v8.h in this directory for | // Setup for Linux shared library export. See v8.h in this directory for | |||
// information on how to build/use V8 as shared library. | // information on how to build/use V8 as shared library. | |||
#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(V8_SHARED) | #if defined(__GNUC__) && ((__GNUC__ >= 4) || \ | |||
(__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(V8_SHARED) | ||||
#define V8EXPORT __attribute__ ((visibility("default"))) | #define V8EXPORT __attribute__ ((visibility("default"))) | |||
#else // defined(__GNUC__) && (__GNUC__ >= 4) | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif // defined(__GNUC__) && (__GNUC__ >= 4) | #endif | |||
#endif // _WIN32 | #endif // _WIN32 | |||
/** | /** | |||
* Testing support for the V8 JavaScript engine. | * Testing support for the V8 JavaScript engine. | |||
*/ | */ | |||
namespace v8 { | namespace v8 { | |||
class V8EXPORT Testing { | class V8EXPORT Testing { | |||
public: | public: | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||
v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 66 | skipping to change at line 66 | |||
#define V8EXPORT __declspec(dllexport) | #define V8EXPORT __declspec(dllexport) | |||
#elif USING_V8_SHARED | #elif USING_V8_SHARED | |||
#define V8EXPORT __declspec(dllimport) | #define V8EXPORT __declspec(dllimport) | |||
#else | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif // BUILDING_V8_SHARED | #endif // BUILDING_V8_SHARED | |||
#else // _WIN32 | #else // _WIN32 | |||
// Setup for Linux shared library export. | // Setup for Linux shared library export. | |||
#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(V8_SHARED) | #if defined(__GNUC__) && ((__GNUC__ >= 4) || \ | |||
(__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(V8_SHARED) | ||||
#ifdef BUILDING_V8_SHARED | #ifdef BUILDING_V8_SHARED | |||
#define V8EXPORT __attribute__ ((visibility("default"))) | #define V8EXPORT __attribute__ ((visibility("default"))) | |||
#else | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif | #endif | |||
#else // defined(__GNUC__) && (__GNUC__ >= 4) | #else | |||
#define V8EXPORT | #define V8EXPORT | |||
#endif // defined(__GNUC__) && (__GNUC__ >= 4) | #endif | |||
#endif // _WIN32 | #endif // _WIN32 | |||
/** | /** | |||
* The v8 JavaScript engine. | * The v8 JavaScript engine. | |||
*/ | */ | |||
namespace v8 { | namespace v8 { | |||
class Context; | class Context; | |||
class String; | class String; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||