marioparty4/src/REL/executor.c
2024-06-26 04:43:05 +02:00

19 lines
318 B
C

#include "REL/executor.h"
s32 _prolog(void) {
const VoidFunc* ctors = _ctors;
while (*ctors != 0) {
(**ctors)();
ctors++;
}
ObjectSetup();
return 0;
}
void _epilog(void) {
const VoidFunc* dtors = _dtors;
while (*dtors != 0) {
(**dtors)();
dtors++;
}
}