add ending headers

This commit is contained in:
2025-03-30 12:48:45 -05:00
parent 5fe172bc0d
commit 20ab1501ff
8 changed files with 36 additions and 28 deletions

12
include/endModule.h Normal file
View File

@@ -0,0 +1,12 @@
#include "Archimedes.h"
#ifdef MODULE_TYPE
extern "C" {
Archimedes::Module* create(void* handle, Archimedes::App* app) {
return new MODULE_TYPE(handle, app);
}
}
#undef MODULE_TYPE
#endif