Go to the documentation of this file.
24 #ifndef PXR_BASE_JS_API_H
25 #define PXR_BASE_JS_API_H
29 #if defined(PXR_STATIC)
31 # define JS_API_TEMPLATE_CLASS(...)
32 # define JS_API_TEMPLATE_STRUCT(...)
35 # if defined(JS_EXPORTS)
36 # define JS_API ARCH_EXPORT
37 # define JS_API_TEMPLATE_CLASS(...) ARCH_EXPORT_TEMPLATE(class, __VA_ARGS__)
38 # define JS_API_TEMPLATE_STRUCT(...) ARCH_EXPORT_TEMPLATE(struct, __VA_ARGS__)
40 # define JS_API ARCH_IMPORT
41 # define JS_API_TEMPLATE_CLASS(...) ARCH_IMPORT_TEMPLATE(class, __VA_ARGS__)
42 # define JS_API_TEMPLATE_STRUCT(...) ARCH_IMPORT_TEMPLATE(struct, __VA_ARGS__)
44 # define JS_LOCAL ARCH_HIDDEN
47 #endif // PXR_BASE_JS_API_H