mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-19 13:19:59 +01:00
added updated windows version
This commit is contained in:
19
windows/Acid.Cam.Qt.Windows.Project/plugins/basic/basic.cpp
Executable file
19
windows/Acid.Cam.Qt.Windows.Project/plugins/basic/basic.cpp
Executable file
@@ -0,0 +1,19 @@
|
||||
#include<iostream>
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
#define EXPORT_FUNC
|
||||
#define CDECL
|
||||
#else
|
||||
#define EXPORT_FUNC __declspec(dllexport)
|
||||
#define CDECL __cdecl
|
||||
#endif
|
||||
|
||||
extern "C" EXPORT_FUNC void CDECL pixel(int x, int y, unsigned char *rgb) {
|
||||
rgb[0] = rgb[1] = rgb[2] = 0;
|
||||
}
|
||||
|
||||
extern "C" EXPORT_FUNC void CDECL complete() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user