|
|
|
@ -12,11 +12,11 @@ |
|
|
|
|
#define BK_MSG_ASSERT(check, msg) if(!(check)) { BK_ERROR("Assertion [{0}] failed at {1}:{2}\n\tError : {3}", BK_STRINGIFY(check), __FILE__, __LINE__, msg); BK_DEBUGBREAK(); } |
|
|
|
|
#define BK_ASSERT(check) if(!(check)) { BK_ERROR("Assertion [{0}] failed at {1}:{2}", BK_STRINGIFY(check), __FILE__, __LINE__); BK_DEBUGBREAK(); } |
|
|
|
|
#else |
|
|
|
|
#define BK_CORE_MSG_ASSERT(check, msg, ...) |
|
|
|
|
#define BK_CORE_IMP_ASSERT(check, msg) |
|
|
|
|
#define BK_CORE_VA_MSG_ASSERT(check, msg, ...) |
|
|
|
|
#define BK_CORE_MSG_ASSERT(check, msg) |
|
|
|
|
#define BK_CORE_ASSERT(check) |
|
|
|
|
|
|
|
|
|
#define BK_MSG_ASSERT(check, msg, ...) |
|
|
|
|
#define BK_IMP_ASSERT(check, msg) |
|
|
|
|
#define BK_VA_MSG_ASSERT(check, msg, ...) |
|
|
|
|
#define BK_MSG_ASSERT(check, msg) |
|
|
|
|
#define BK_ASSERT(check) |
|
|
|
|
#endif |