Fix main c fie

This commit is contained in:
2024-11-19 22:00:43 -05:00
parent 0eff928c47
commit fdceac9441
3 changed files with 7 additions and 4 deletions

View File

@@ -18,8 +18,9 @@ void Handler(int sigNum) {
exit(0);
}
__declspec(dllexport) void init() {
int main() {
signal(SIGINT, Handler);
return 0;
}
__declspec(dllexport) int draw() {

View File

@@ -5,8 +5,10 @@
#ifndef P2FA_P2FA_H
#define P2FA_P2FA_H
#endif //P2FA_P2FA_H
void Handler(int sigNum);
__declspec(dllexport) void init();
//__declspec(dllexport) void init();
__declspec(dllexport) int draw();
#endif //P2FA_P2FA_H