mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2026-08-21 07:54:02 -05:00
Add WUMS_DEPENDS_ON macro, bump version to 0.3.2
This commit is contained in:
@@ -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(); \
|
||||
|
||||
Reference in New Issue
Block a user