From 5ebc67833086eccb3c3b1708745c927d5bcfd811 Mon Sep 17 00:00:00 2001 From: Aiden Gall Date: Wed, 15 May 2024 00:47:52 +0100 Subject: add static assertions --- kernel/assert.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 kernel/assert.h (limited to 'kernel/assert.h') 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] -- cgit v1.2.3