static define

This commit is contained in:
2025-03-29 23:33:46 -05:00
parent 08f1d7ba7b
commit 0d168a25c7
2 changed files with 4 additions and 0 deletions

View File

@@ -17,9 +17,12 @@ class TestImgui : public Archimedes::GuiModule {
bool demo = true;
};
#ifndef TESTIMGUI_STATIC
extern "C" {
Archimedes::Module* create(void* handle, Archimedes::App* app) {
return new TestImgui(handle, app);
}
}
#endif