mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-12-24 17:11:58 +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 = { \
|
._function = { \
|
||||||
.name = #original_func, \
|
.name = #original_func, \
|
||||||
.library = rpl_type, \
|
.library = rpl_type, \
|
||||||
.target = &(replace_func) \
|
.target = (const void*)&(replace_func) \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
@ -80,7 +80,7 @@ typedef struct wups_loader_entry_t {
|
|||||||
._function = { \
|
._function = { \
|
||||||
.name = #original_func, \
|
.name = #original_func, \
|
||||||
.library = rpl_type, \
|
.library = rpl_type, \
|
||||||
.target = &(replace_func) \
|
.target = (const void*)&(replace_func) \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ typedef struct wups_loader_entry_t {
|
|||||||
.data = { \
|
.data = { \
|
||||||
._export = { \
|
._export = { \
|
||||||
.name = #symbol, \
|
.name = #symbol, \
|
||||||
.target = &(symbol) \
|
.target = (const void*)&(symbol) \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user