2 #ifndef ENV_IMAGE_JNI_H
3 #define ENV_IMAGE_JNI_H
7 #ifdef CBI_IMAGE_JNI_DLL // defined if API is compiled as a DLL
9 #ifdef CBI_IMAGE_JNI_EXPORT // defined if we are building the API DLL (instead of using it)
10 #define CBI_IMAGE_JNI HELPER_DLL_EXPORT
12 #define CBI_IMAGE_JNI HELPER_DLL_IMPORT
14 #define CBI_IMAGE_JNI_LOCAL HELPER_DLL_LOCAL
15 #else // using static lib
17 #define CBI_IMAGE_JNI_LOCAL