mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2024-11-25 11:16:52 +01:00
Add WUMS_APPLICATION_REQUESTS_EXIT hook
This commit is contained in:
parent
a9aabcd149
commit
00cb2d64bd
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ include $(TOPDIR)/share/wums_rules
|
||||
|
||||
export WUMS_MAJOR := 0
|
||||
export WUMS_MINOR := 1
|
||||
export WUMS_PATCH := 2
|
||||
export WUMS_PATCH := 3
|
||||
|
||||
VERSION := $(WUMS_MAJOR).$(WUMS_MINOR).$(WUMS_PATCH)
|
||||
|
||||
|
@ -46,6 +46,7 @@ typedef enum wums_hook_type_t {
|
||||
WUMS_HOOK_INIT_WUT,
|
||||
WUMS_HOOK_FINI_WUT,
|
||||
WUMS_HOOK_RELOCATIONS_DONE,
|
||||
WUMS_HOOK_APPLICATION_REQUESTS_EXIT,
|
||||
} wums_hook_type_t;
|
||||
|
||||
typedef struct wums_hook_t {
|
||||
@ -77,6 +78,11 @@ typedef struct wums_relocs_done_args_t {
|
||||
void __wums_end(void);\
|
||||
WUMS_HOOK_EX(WUMS_HOOK_APPLICATION_ENDS, __wums_end); \
|
||||
void __wums_end()
|
||||
|
||||
#define WUMS_APPLICATION_REQUESTS_EXIT() \
|
||||
void __wums_requests_exit(void);\
|
||||
WUMS_HOOK_EX(WUMS_HOOK_APPLICATION_REQUESTS_EXIT, __wums_requests_exit); \
|
||||
void __wums_requests_exit()
|
||||
|
||||
#define WUMS_RELOCATIONS_DONE(myargs) \
|
||||
void __wums_relocations_done(wums_relocs_done_args_t);\
|
||||
|
Loading…
Reference in New Issue
Block a user