mirror of
https://github.com/zeldaret/ss
synced 2026-08-18 21:47:41 -04:00
Setup REL runtime
This commit is contained in:
@@ -0,0 +1,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 */
|
||||
Reference in New Issue
Block a user