Initial commit

This commit is contained in:
Luke Street 2023-11-18 23:52:51 -05:00
commit c8c516e548
222 changed files with 38483 additions and 0 deletions

19
src/REL/executor.c Normal file
View file

@ -0,0 +1,19 @@
#include "REL/executor.h"
int _prolog(void) {
const VoidFunc* ctors = _ctors;
while (*ctors != 0) {
(**ctors)();
ctors++;
}
ModuleProlog();
return 0;
}
void _epilog(void) {
const VoidFunc* dtors = _dtors;
while (*dtors != 0) {
(**dtors)();
dtors++;
}
}