Luna/kernel/include/std/assert.h
apio b035795eb3 Kernel: Move errno.h and (k)assert.h out of the main include directory
This is mostly so IDEs don't pick them up instead of the userspace headers :)
2022-10-19 17:41:23 +02:00

6 lines
156 B
C

#pragma once
#include "panic/Panic.h"
#define ASSERT(expr) (bool)(expr) || panic("Assertion failed: " #expr)
#define TODO(message) panic("TODO: " message)