summaryrefslogtreecommitdiff
path: root/include/REL/executor.h
blob: e91b4bc432288daf89b5337b66d629251070041a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef REL_EXECUTOR_H
#define REL_EXECUTOR_H

#ifdef __cplusplus
extern "C" {
#endif

extern void _prolog();
extern void _epilog();
extern void _unresolved();

typedef void (*VoidFunc)(void);
extern const VoidFunc _ctors[];
extern const VoidFunc _dtors[];

extern void ModuleProlog(void);
extern void ModuleEpilog(void);
extern void ModuleUnresolved(void);
extern void ModuleConstructorsX(const VoidFunc* ctors);
extern void ModuleDestructorsX(const VoidFunc* dtors);

#ifdef __cplusplus
}
#endif

#endif /* REL_EXECUTOR_H */