v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
export-template.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXPORT_TEMPLATE_DECLARE(export)
 
#define EXPORT_TEMPLATE_DEFINE(export)
 
#define EXPORT_TEMPLATE_INVOKE(which, style, export)
 
#define EXPORT_TEMPLATE_INVOKE_2(which, style, export)
 
#define EXPORT_TEMPLATE_DECLARE_DEFAULT(export, _)
 
#define EXPORT_TEMPLATE_DEFINE_DEFAULT(export, _)
 
#define EXPORT_TEMPLATE_DECLARE_MSVC_HACK(export, _)
 
#define EXPORT_TEMPLATE_DEFINE_MSVC_HACK(export, _)
 
#define EXPORT_TEMPLATE_STYLE(export, _)
 
#define EXPORT_TEMPLATE_STYLE_2(export, _)
 
#define EXPORT_TEMPLATE_STYLE_3(style)
 
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA   DEFAULT
 
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__attribute__(...)
 
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__declspec(arg)
 
#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllexport   MSVC_HACK
 
#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllimport   DEFAULT
 
#define EXPORT_TEMPLATE_TEST(want, export)
 
#define EXPORT_TEMPLATE_TEST_DEFAULT_DEFAULT(...)
 
#define EXPORT_TEMPLATE_TEST_MSVC_HACK_MSVC_HACK(...)
 

Functions

 EXPORT_TEMPLATE_TEST (DEFAULT,)
 
 EXPORT_TEMPLATE_TEST (DEFAULT, __attribute__((visibility("default"))))
 
 EXPORT_TEMPLATE_TEST (MSVC_HACK, __declspec(dllexport))
 
 EXPORT_TEMPLATE_TEST (DEFAULT, __declspec(dllimport))
 

Macro Definition Documentation

◆ EXPORT_TEMPLATE_DECLARE

#define EXPORT_TEMPLATE_DECLARE ( export)
Value:
#define DECLARE(A)
#define EXPORT_TEMPLATE_STYLE(export, _)
#define EXPORT_TEMPLATE_INVOKE(which, style, export)

Definition at line 61 of file export-template.h.

◆ EXPORT_TEMPLATE_DECLARE_DEFAULT

#define EXPORT_TEMPLATE_DECLARE_DEFAULT ( export,
_ )
Value:
export

Definition at line 78 of file export-template.h.

◆ EXPORT_TEMPLATE_DECLARE_MSVC_HACK

#define EXPORT_TEMPLATE_DECLARE_MSVC_HACK ( export,
_ )

Definition at line 84 of file export-template.h.

◆ EXPORT_TEMPLATE_DEFINE

#define EXPORT_TEMPLATE_DEFINE ( export)
Value:
EXPORT_TEMPLATE_INVOKE(DEFINE, EXPORT_TEMPLATE_STYLE(export, ), export)

Definition at line 63 of file export-template.h.

◆ EXPORT_TEMPLATE_DEFINE_DEFAULT

#define EXPORT_TEMPLATE_DEFINE_DEFAULT ( export,
_ )

Definition at line 79 of file export-template.h.

◆ EXPORT_TEMPLATE_DEFINE_MSVC_HACK

#define EXPORT_TEMPLATE_DEFINE_MSVC_HACK ( export,
_ )
Value:
export

Definition at line 85 of file export-template.h.

◆ EXPORT_TEMPLATE_INVOKE

#define EXPORT_TEMPLATE_INVOKE ( which,
style,
export )
Value:
#define EXPORT_TEMPLATE_INVOKE_2(which, style, export)
JSDurationFormat::FieldStyle style

Definition at line 72 of file export-template.h.

◆ EXPORT_TEMPLATE_INVOKE_2

#define EXPORT_TEMPLATE_INVOKE_2 ( which,
style,
export )
Value:
EXPORT_TEMPLATE_##which##_##style(export, )
#define _

Definition at line 74 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE

#define EXPORT_TEMPLATE_STYLE ( export,
_ )
Value:
#define EXPORT_TEMPLATE_STYLE_2(export, _)

Definition at line 102 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE_2

#define EXPORT_TEMPLATE_STYLE_2 ( export,
_ )
Value:
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA
#define EXPORT_TEMPLATE_STYLE_3(style)

Definition at line 103 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE_3

#define EXPORT_TEMPLATE_STYLE_3 ( style)
Value:

Definition at line 106 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllexport

#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllexport   MSVC_HACK

Definition at line 122 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllimport

#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllimport   DEFAULT

Definition at line 123 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA

#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA   DEFAULT

Definition at line 115 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__attribute__

#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__attribute__ ( ...)
Value:
DEFAULT

Definition at line 116 of file export-template.h.

◆ EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__declspec

#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__declspec ( arg)
Value:
EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_##arg

Definition at line 118 of file export-template.h.

◆ EXPORT_TEMPLATE_TEST

#define EXPORT_TEMPLATE_TEST ( want,
export )
Value:
static_assert(EXPORT_TEMPLATE_INVOKE( \
TEST_##want, EXPORT_TEMPLATE_STYLE(export, ), export), \
#export)

Definition at line 147 of file export-template.h.

◆ EXPORT_TEMPLATE_TEST_DEFAULT_DEFAULT

#define EXPORT_TEMPLATE_TEST_DEFAULT_DEFAULT ( ...)
Value:
true

Definition at line 151 of file export-template.h.

◆ EXPORT_TEMPLATE_TEST_MSVC_HACK_MSVC_HACK

#define EXPORT_TEMPLATE_TEST_MSVC_HACK_MSVC_HACK ( ...)
Value:
true

Definition at line 152 of file export-template.h.

Function Documentation

◆ EXPORT_TEMPLATE_TEST() [1/4]

EXPORT_TEMPLATE_TEST ( DEFAULT ,
__attribute__((visibility("default")))  )

◆ EXPORT_TEMPLATE_TEST() [2/4]

EXPORT_TEMPLATE_TEST ( DEFAULT ,
__declspec(dllimport)  )

◆ EXPORT_TEMPLATE_TEST() [3/4]

EXPORT_TEMPLATE_TEST ( DEFAULT )

◆ EXPORT_TEMPLATE_TEST() [4/4]

EXPORT_TEMPLATE_TEST ( MSVC_HACK ,
__declspec(dllexport)  )