HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Export.h
Go to the documentation of this file.
1 //
2 // TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
3 // All rights reserved. See LICENSE.txt for license.
4 //
5 
6 #ifndef MATERIALX_RENDER_EXPORT_H
7 #define MATERIALX_RENDER_EXPORT_H
8 
10 
11 /// @file
12 /// Macros for declaring imported and exported symbols.
13 
14 #if defined(MATERIALX_RENDER_EXPORTS)
15  #define MX_RENDER_API MATERIALX_SYMBOL_EXPORT
16  #define MX_RENDER_EXTERN_TEMPLATE(...) MATERIALX_EXPORT_EXTERN_TEMPLATE(__VA_ARGS__)
17 #else
18  #define MX_RENDER_API MATERIALX_SYMBOL_IMPORT
19  #define MX_RENDER_EXTERN_TEMPLATE(...) MATERIALX_IMPORT_EXTERN_TEMPLATE(__VA_ARGS__)
20 #endif
21 
22 #endif