mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +01:00
[WUPS] Make the include c++ compatible
This commit is contained in:
parent
88f323de17
commit
83a9aa7b7b
@ -67,7 +67,7 @@ typedef struct wups_loader_entry_t {
|
||||
._function = { \
|
||||
.name = #original_func, \
|
||||
.library = rpl_type, \
|
||||
.target = &(replace_func) \
|
||||
.target = (const void*)&(replace_func) \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
@ -80,7 +80,7 @@ typedef struct wups_loader_entry_t {
|
||||
._function = { \
|
||||
.name = #original_func, \
|
||||
.library = rpl_type, \
|
||||
.target = &(replace_func) \
|
||||
.target = (const void*)&(replace_func) \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
@ -92,7 +92,7 @@ typedef struct wups_loader_entry_t {
|
||||
.data = { \
|
||||
._export = { \
|
||||
.name = #symbol, \
|
||||
.target = &(symbol) \
|
||||
.target = (const void*)&(symbol) \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user