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_VALIDAION_USD_SHADE_VALIDATORS_API_H
8#define PXR_USD_VALIDAION_USD_SHADE_VALIDATORS_API_H
9
11
12#if defined(PXR_STATIC)
13# define USDSHADEVALIDATORS_API
14# define USDSHADEVALIDATORS_API_TEMPLATE_CLASS(...)
15# define USDSHADEVALIDATORS_API_TEMPLATE_STRUCT(...)
16# define USDSHADEVALIDATORS_API_LOCAL
17#else
18# if defined(USDSHADEVALIDATORS_EXPORTS)
19# define USDSHADEVALIDATORS_API ARCH_EXPORT
20# define USDSHADEVALIDATORS_API_TEMPLATE_CLASS(...) \
21 ARCH_EXPORT_TEMPLATE(class, __VA_ARGS__)
22# define USDSHADEVALIDATORS_API_TEMPLATE_STRUCT(...) \
23 ARCH_EXPORT_TEMPLATE(struct, __VA_ARGS__)
24# else
25# define USDSHADEVALIDATORS_API ARCH_IMPORT
26# define USDSHADEVALIDATORS_API_TEMPLATE_CLASS(...) \
27 ARCH_IMPORT_TEMPLATE(class, __VA_ARGS__)
28# define USDSHADEVALIDATORS_API_TEMPLATE_STRUCT(...) \
29 ARCH_IMPORT_TEMPLATE(struct, __VA_ARGS__)
30# endif
31# define USDSHADEVALIDATORS_API_LOCAL ARCH_HIDDEN
32#endif
33
34#endif
Defines symbol visibility macros.