Modules are static by default

This commit is contained in:
2025-04-04 16:02:55 -05:00
parent c58e26b04c
commit ac0892e163
12 changed files with 25 additions and 24 deletions

View File

@@ -11,5 +11,5 @@ Print::~Print() {
void Print::run() {
std::cout << "Print lib loaded and run!\n";
app->stopModule(self);
app->stopModule(name);
}

View File

@@ -10,7 +10,7 @@ class Print : public Archimedes::Module {
};
#ifndef PRINT_STATIC
#ifdef PRINT_DYNAMIC
#define MODULE_TYPE Print
#include "endModule.h"
#endif