This commit is contained in:
Ken Van Hoeylandt 2026-01-05 22:15:59 +01:00
parent d695231cf6
commit 158033af48

View File

@ -64,4 +64,5 @@ namespace tt {
* @param[in] condition to check
* @param[in] optional message (const char*)
*/
#define tt_check(...) tt_check_internal(__VA_ARGS__)
#define tt_check(x, ...) if (!(x)) { tt::Logger("Kernel").error("Check failed: {}", #x); tt::_crash(); }