static define
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user