19 lines
318 B
C
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++;
|
|
}
|
|
}
|