修改该linux下dll导出
This commit is contained in:
@ -19,14 +19,19 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WINDOWSEXPORT __declspec(dllexport) // Windows下导出函数
|
||||
#elif
|
||||
#define WINDOWSEXPORT // Linux下导出函数
|
||||
#endif
|
||||
|
||||
__declspec(dllexport) int IS3SensorInit();
|
||||
__declspec(dllexport) void IS3Set_Serial_FUN(SERIALWRITE writefunc,SERIALWRITE readfunc);
|
||||
__declspec(dllexport) STRsensorinfo_C IS3Get_SensorInfo();
|
||||
__declspec(dllexport) int IS3OptSnenser(int percent);
|
||||
__declspec(dllexport) int IS3GetData(uint16_t *outdata,int shuttertime);
|
||||
__declspec(dllexport) int IS3SetWeaveLenthCoeff(double *a,int lenth);
|
||||
__declspec(dllexport) void IS3SetShutterOpen(int isopen);
|
||||
WINDOWSEXPORT int IS3SensorInit();
|
||||
WINDOWSEXPORT void IS3Set_Serial_FUN(SERIALWRITE writefunc,SERIALWRITE readfunc);
|
||||
WINDOWSEXPORT STRsensorinfo_C IS3Get_SensorInfo();
|
||||
WINDOWSEXPORT int IS3OptSnenser(int percent);
|
||||
WINDOWSEXPORT int IS3GetData(uint16_t *outdata,int shuttertime);
|
||||
WINDOWSEXPORT int IS3SetWeaveLenthCoeff(double *a,int lenth);
|
||||
WINDOWSEXPORT void IS3SetShutterOpen(int isopen);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -19,12 +19,17 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WINDOWSEXPORT __declspec(dllexport) // Windows下导出函数
|
||||
#elif
|
||||
#define WINDOWSEXPORT // Linux下导出函数
|
||||
#endif
|
||||
|
||||
__declspec(dllexport) int IS11SensorInit();
|
||||
__declspec(dllexport) void Set_Serial_FUN(SERIALWRITE writefunc,SERIALWRITE readfunc);
|
||||
__declspec(dllexport) STRsensorinfo_C Get_SensorInfo();
|
||||
__declspec(dllexport) int IS11OptSnenser(int percent);
|
||||
__declspec(dllexport) int IS11GetData(uint16_t *outdata,int shuttertime);
|
||||
WINDOWSEXPORT int IS11SensorInit();
|
||||
WINDOWSEXPORT void Set_Serial_FUN(SERIALWRITE writefunc,SERIALWRITE readfunc);
|
||||
WINDOWSEXPORT STRsensorinfo_C Get_SensorInfo();
|
||||
WINDOWSEXPORT int IS11OptSnenser(int percent);
|
||||
WINDOWSEXPORT int IS11GetData(uint16_t *outdata,int shuttertime);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user