I spent the whole evening debugging this crap

This commit is contained in:
Андреев Григорий 2026-04-07 23:10:49 +03:00
parent 1794df45f4
commit 07c0b10280

View File

@ -3,8 +3,4 @@
void printk(const char *msg);
_Noreturn void panic(const char *msg);
#define check(expr) \
if (!(expr)) { \
panic("Assertion failed at " __FILE__ " : " \
" : " #expr "\n"); \
}
#define check(expr) if (!(expr)) {panic("Assertion failed at " __FILE__ " : " #expr "\n");}