documentation

vlSDKDef.h
Go to the documentation of this file.
1 #ifndef VL_SDK_DEF_H
2 #define VL_SDK_DEF_H
3 
4 #ifdef WIN32
5  // Exporting functions to DLL?
6  #ifdef VIS_BUILD_SDK_DLL
7  #define VL_SDK_API __declspec(dllexport)
8  // Otherwise, importing functions from DLL
9  #else
10  #define VL_SDK_API __declspec(dllimport)
11  #endif // VIS_BUILD_SDK_DLL
12 
13  #define VL_CALLINGCONVENTION __stdcall
14 
15 #else // WIN32
16  #define VL_SDK_API
17  #define VL_CALLINGCONVENTION
18 #endif //WIN32
19 
20 #endif // VL_SDK_DEF_H