diff options
author | Aiden Gall <aiden@aidengall.xyz> | 2024-05-15 00:47:52 +0100 |
---|---|---|
committer | Aiden Gall <aiden@aidengall.xyz> | 2024-05-15 00:48:53 +0100 |
commit | 5ebc67833086eccb3c3b1708745c927d5bcfd811 (patch) | |
tree | ec3347e5bcbccebcba8e9e121d22f1d74c82762f /kernel/assert.h | |
parent | d28457e416f7ba7c903c4db6bff73fb87f77e3e6 (diff) |
add static assertions
Diffstat (limited to 'kernel/assert.h')
-rw-r--r-- | kernel/assert.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/assert.h b/kernel/assert.h new file mode 100644 index 0000000..2519b7f --- /dev/null +++ b/kernel/assert.h @@ -0,0 +1 @@ +#define STATIC_ASSERT(COND,MSG) typedef char static_assert_##MSG[(COND)?1:-1] |