ZeroBuf  0.2.0
Zero-copy, zero-serialize, zero-hassle protocol buffers
render/api.h
Go to the documentation of this file.
1 // generated by CommonLibrary.cmake, do not edit.
2 
8 #ifndef ZEROBUFRENDER_API_H
9 #define ZEROBUFRENDER_API_H
10 
11 #include <zerobuf/defines.h>
12 
13 #if defined(_MSC_VER) || defined(__declspec)
14 # define ZEROBUFRENDER_DLLEXPORT __declspec(dllexport)
15 # define ZEROBUFRENDER_DLLIMPORT __declspec(dllimport)
16 #else // _MSC_VER
17 # define ZEROBUFRENDER_DLLEXPORT
18 # define ZEROBUFRENDER_DLLIMPORT
19 #endif // _MSC_VER
20 
21 #if defined(ZEROBUFRENDER_STATIC)
22 # define ZEROBUFRENDER_API
23 #elif defined(ZEROBUFRENDER_SHARED)
24 # define ZEROBUFRENDER_API ZEROBUFRENDER_DLLEXPORT
25 #else
26 # define ZEROBUFRENDER_API ZEROBUFRENDER_DLLIMPORT
27 #endif
28 
29 #if defined(ZEROBUFRENDER_SHARED_INL)
30 # define ZEROBUFRENDER_INL ZEROBUFRENDER_DLLEXPORT
31 #else
32 # define ZEROBUFRENDER_INL ZEROBUFRENDER_DLLIMPORT
33 #endif
34 
35 #endif
Includes compile-time defines of ZeroBuf.