Various improvements (#88)

This commit is contained in:
Ken Van Hoeylandt
2024-11-24 23:44:03 +01:00
committed by GitHub
parent 76c14a5f47
commit 8fc653fa51
6 changed files with 34 additions and 38 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ TT_NORETURN void tt_crash_implementation();
* @param optional message (const char*)
*/
#define tt_check(x, ...) if (!(x)) { TT_LOG_E("check", "Failed: %s", #x); };
#define tt_check(x, ...) if (!(x)) { TT_LOG_E("check", "Failed: %s", #x); tt_crash_implementation(); };
/** Only in debug build: Assert condition and crash if assert failed */
#ifdef TT_DEBUG