Loading...
Searching...
No Matches
api.h
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_PHYSICS_VALIDATORS_API_H
8#define PXR_USD_VALIDATION_USD_PHYSICS_VALIDATORS_API_H
9
11
12#if defined(PXR_STATIC)
13# define USDPHYSICSVALIDATORS_API
14# define USDPHYSICSVALIDATORS_API_TEMPLATE_CLASS(...)
15# define USDPHYSICSVALIDATORS_API_TEMPLATE_STRUCT(...)
16# define USDPHYSICSVALIDATORS_API_LOCAL
17#else
18# if defined(USDPHYSICSVALIDATORS_EXPORTS)
19# define USDPHYSICSVALIDATORS_API ARCH_EXPORT
20# define USDPHYSICSVALIDATORS_API_TEMPLATE_CLASS(...) \
21 ARCH_EXPORT_TEMPLATE(class, __VA_ARGS__)
22# define USDPHYSICSVALIDATORS_API_TEMPLATE_STRUCT(...) \
23 ARCH_EXPORT_TEMPLATE(struct, __VA_ARGS__)
24# else
25# define USDPHYSICSVALIDATORS_API ARCH_IMPORT
26# define USDPHYSICSVALIDATORS_API_TEMPLATE_CLASS(...) \
27 ARCH_IMPORT_TEMPLATE(class, __VA_ARGS__)
28# define USDPHYSICSVALIDATORS_API_TEMPLATE_STRUCT(...) \
29 ARCH_IMPORT_TEMPLATE(struct, __VA_ARGS__)
30# endif
31# define USDPHYSICSVALIDATORS_API_LOCAL ARCH_HIDDEN
32#endif
33
34#endif
Defines symbol visibility macros.