Go to the documentation of this file.
7 #ifndef PXR_BASE_JS_API_H
8 #define PXR_BASE_JS_API_H
12 #if defined(PXR_STATIC)
14 # define JS_API_TEMPLATE_CLASS(...)
15 # define JS_API_TEMPLATE_STRUCT(...)
18 # if defined(JS_EXPORTS)
19 # define JS_API ARCH_EXPORT
20 # define JS_API_TEMPLATE_CLASS(...) ARCH_EXPORT_TEMPLATE(class, __VA_ARGS__)
21 # define JS_API_TEMPLATE_STRUCT(...) ARCH_EXPORT_TEMPLATE(struct, __VA_ARGS__)
23 # define JS_API ARCH_IMPORT
24 # define JS_API_TEMPLATE_CLASS(...) ARCH_IMPORT_TEMPLATE(class, __VA_ARGS__)
25 # define JS_API_TEMPLATE_STRUCT(...) ARCH_IMPORT_TEMPLATE(struct, __VA_ARGS__)
27 # define JS_LOCAL ARCH_HIDDEN
30 #endif // PXR_BASE_JS_API_H