mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2024-11-25 03:06:52 +01:00
Add WUMS_DEPENDS_ON macro, bump version to 0.3.2
This commit is contained in:
parent
42a0ef7472
commit
a2ca8a5777
@ -37,6 +37,10 @@ extern "C" {
|
||||
extern const char wums_meta_##id[] WUMS_SECTION("meta"); \
|
||||
const char wums_meta_##id[] = #id "=" value
|
||||
|
||||
#define WUMS_DEPENDS_ON(id) \
|
||||
extern const char wums_depends_on_##id[] WUMS_SECTION("dependencies"); \
|
||||
const char wums_depends_on_##id[] = #id
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -41,7 +41,7 @@ extern "C" {
|
||||
|
||||
#define WUMS_MODULE_EXPORT_NAME(x) \
|
||||
WUMS_META(export_name, x); \
|
||||
WUMS_META(wums, "0.3.1"); \
|
||||
WUMS_META(wums, "0.3.2"); \
|
||||
WUMS_USE_WUT_MALLOC(); \
|
||||
WUMS_USE_WUT_SOCKETS(); \
|
||||
WUMS_USE_WUT_NEWLIB(); \
|
||||
|
@ -14,4 +14,9 @@ SECTIONS
|
||||
*(.wums.hooks*)
|
||||
KEEP(*(.wums.hooks*))
|
||||
} > datamem
|
||||
|
||||
.wums.dependencies : {
|
||||
*(.wums.dependencies*)
|
||||
KEEP(*(.wums.dependencies*))
|
||||
} > datamem
|
||||
}
|
Loading…
Reference in New Issue
Block a user