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

View File

@@ -10,8 +10,7 @@ class DependsOnPrint : public Archimedes::Module {
};
extern "C" {
Archimedes::Module* create(void* handle, Archimedes::App* app) {
return new DependsOnPrint(handle, app);
}
}
#ifndef DEPENDSONPRINT_STATIC
#define MODULE_TYPE DependsOnPrint
#include "endModule.h"
#endif

View File

@@ -11,11 +11,6 @@ class DependsOnPrintStatic : public Archimedes::Module {
};
#ifndef DEPENDSONPRINTSTATIC_STATIC
extern "C" {
Archimedes::Module* create(void* handle, Archimedes::App* app) {
return new DependsOnPrintStatic(handle, app);
}
}
#define MODULE_TYPE DependsOnPrintStatic
#include "endModule.h"
#endif

View File

@@ -22,11 +22,6 @@ class TestImgui : public Archimedes::GuiModule {
};
#ifndef TESTIMGUI_STATIC
extern "C" {
Archimedes::Module* create(void* handle, Archimedes::App* app) {
return (Archimedes::Module*) new TestImgui(handle, app);
}
}
#define MODULE_TYPE TestImgui
#include "endModule.h"
#endif

View File

@@ -11,11 +11,6 @@ class Print : public Archimedes::Module {
};
#ifndef PRINT_STATIC
extern "C" {
Archimedes::Module* create(void* handle, Archimedes::App* app) {
return new Print(handle, app);
}
}
#define MODULE_TYPE Print
#include "endModule.h"
#endif