mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-27 04:16:47 -05:00
Replaces VARARG_8 uses with recursive macros (#4232)
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
#define STR(...) STR_(__VA_ARGS__)
|
||||
#define STR_(...) #__VA_ARGS__
|
||||
|
||||
/* You'll never guess what this one does */
|
||||
#define APPEND_SEMICOLON(a) a;
|
||||
|
||||
/* Converts a string to a compound literal, essentially making it a pointer to const u8 */
|
||||
#define COMPOUND_STRING(str) (const u8[]) _(str)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user