OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 # define V8_EXPORT __declspec(dllexport) | 44 # define V8_EXPORT __declspec(dllexport) |
45 #elif USING_V8_SHARED | 45 #elif USING_V8_SHARED |
46 # define V8_EXPORT __declspec(dllimport) | 46 # define V8_EXPORT __declspec(dllimport) |
47 #else | 47 #else |
48 # define V8_EXPORT | 48 # define V8_EXPORT |
49 #endif // BUILDING_V8_SHARED | 49 #endif // BUILDING_V8_SHARED |
50 | 50 |
51 #else // V8_OS_WIN | 51 #else // V8_OS_WIN |
52 | 52 |
53 // Setup for Linux shared library export. | 53 // Setup for Linux shared library export. |
54 #if V8_HAS_ATTRIBUTE_VISIBILITY | 54 #if V8_HAS_ATTRIBUTE_VISIBILITY && defined(V8_SHARED) |
55 # ifdef BUILDING_V8_SHARED | 55 # ifdef BUILDING_V8_SHARED |
56 # define V8_EXPORT __attribute__ ((visibility("default"))) | 56 # define V8_EXPORT __attribute__ ((visibility("default"))) |
57 # else | 57 # else |
58 # define V8_EXPORT | 58 # define V8_EXPORT |
59 # endif | 59 # endif |
60 #else | 60 #else |
61 # define V8_EXPORT | 61 # define V8_EXPORT |
62 #endif | 62 #endif |
63 | 63 |
64 #endif // V8_OS_WIN | 64 #endif // V8_OS_WIN |
(...skipping 9463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9528 */ | 9528 */ |
9529 | 9529 |
9530 | 9530 |
9531 } // namespace v8 | 9531 } // namespace v8 |
9532 | 9532 |
9533 | 9533 |
9534 #undef TYPE_CHECK | 9534 #undef TYPE_CHECK |
9535 | 9535 |
9536 | 9536 |
9537 #endif // INCLUDE_V8_H_ | 9537 #endif // INCLUDE_V8_H_ |
OLD | NEW |