mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-24 00:33:03 +00:00
assert: Verify formatting
This commit is contained in:
parent
346149dcf9
commit
7e846be376
1 changed files with 6 additions and 2 deletions
|
@ -52,8 +52,12 @@ assert_noinline_call(const Fn& fn) {
|
||||||
#define DEBUG_ASSERT(_a_) ASSERT(_a_)
|
#define DEBUG_ASSERT(_a_) ASSERT(_a_)
|
||||||
#define DEBUG_ASSERT_MSG(_a_, ...) ASSERT_MSG(_a_, __VA_ARGS__)
|
#define DEBUG_ASSERT_MSG(_a_, ...) ASSERT_MSG(_a_, __VA_ARGS__)
|
||||||
#else // not debug
|
#else // not debug
|
||||||
#define DEBUG_ASSERT(_a_) do {} while (0)
|
#define DEBUG_ASSERT(_a_) \
|
||||||
#define DEBUG_ASSERT_MSG(_a_, _desc_, ...) do {} while (0)
|
do { \
|
||||||
|
} while (0)
|
||||||
|
#define DEBUG_ASSERT_MSG(_a_, _desc_, ...) \
|
||||||
|
do { \
|
||||||
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define UNIMPLEMENTED() ASSERT_MSG(false, "Unimplemented code!")
|
#define UNIMPLEMENTED() ASSERT_MSG(false, "Unimplemented code!")
|
||||||
|
|
Loading…
Reference in a new issue