5 * Cédric Bilat cedric.bilat@he-arc.ch
6 * Stähli Joaquim joaquim.stahli@he-arc.ch
13 #include "dllHelper.h"
15 // CBI_GL_IMAGE is used for the public API symbols. It either DLL imports or DLL exports (or does nothing for static build)
16 // CBI_GL_IMAGE_LOCAL is used for non-api symbols.
18 #ifdef CBI_GLIMAGE_DLL // defined if API is compiled as a DLL
20 #ifdef CBI_GLIMAGE_EXPORT // defined if we are building the API DLL (instead of using it)
21 #define CBI_GLIMAGE HELPER_DLL_EXPORT
23 #define CBI_GLIMAGE HELPER_DLL_IMPORT
24 #endif // GLIMAGE_DLL_EXPORT
25 #define CBI_GLIMAGE_LOCAL HELPER_DLL_LOCAL
26 #else // GLIMAGE_USE_DLL is not defined: this means API is a static lib.
28 #define CBI_GLIMAGE_LOCAL