mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-18 04:39:59 +01:00
20 lines
341 B
C++
Executable File
20 lines
341 B
C++
Executable File
#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() {
|
|
|
|
}
|
|
|
|
|