HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
api.h
Go to the documentation of this file.
1 //
2 // Copyright 2024 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_USD_VALIDATION_USD_GEOM_VALIDATORS_API_H
8 #define PXR_USD_VALIDATION_USD_GEOM_VALIDATORS_API_H
9 
10 #include "pxr/base/arch/export.h"
11 
12 #if defined(PXR_STATIC)
13 # define USDGEOMVALIDATORS_API
14 # define USDGEOMVALIDATORS_API_TEMPLATE_CLASS(...)
15 # define USDGEOMVALIDATORS_API_TEMPLATE_STRUCT(...)
16 # define USDGEOMVALIDATORS_API_LOCAL
17 #else
18 # if defined(USDGEOMVALIDATORS_EXPORTS)
19 # define USDGEOMVALIDATORS_API ARCH_EXPORT
20 # define USDGEOMVALIDATORS_API_TEMPLATE_CLASS(...) \
21  ARCH_EXPORT_TEMPLATE(class, __VA_ARGS__)
22 # define USDGEOMVALIDATORS_API_TEMPLATE_STRUCT(...) \
23  ARCH_EXPORT_TEMPLATE(struct, __VA_ARGS__)
24 # else
25 # define USDGEOMVALIDATORS_API ARCH_IMPORT
26 # define USDGEOMVALIDATORS_API_TEMPLATE_CLASS(...) \
27  ARCH_IMPORT_TEMPLATE(class, __VA_ARGS__)
28 # define USDGEOMVALIDATORS_API_TEMPLATE_STRUCT(...) \
29  ARCH_IMPORT_TEMPLATE(struct, __VA_ARGS__)
30 # endif
31 # define USDGEOMVALIDATORS_API_LOCAL ARCH_HIDDEN
32 #endif
33 
34 #endif