Initial commit
This commit is contained in:
commit
c8c516e548
222 changed files with 38483 additions and 0 deletions
19
src/REL/executor.c
Normal file
19
src/REL/executor.c
Normal 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++;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue