mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Add warning_if
This commit is contained in:
parent
9e3796d44d
commit
80239a0b5d
@ -34,6 +34,9 @@ class Font;
|
||||
#define panic_if(cond, x...) \
|
||||
do { if ((cond)) panic(x); } while(0)
|
||||
|
||||
#define warning_if(cond, x...) \
|
||||
do { if ((cond)) warning(x); } while(0)
|
||||
|
||||
static inline char *xstrdup(const char *s)
|
||||
{
|
||||
char *out = strdup(s);
|
||||
|
Loading…
Reference in New Issue
Block a user