util: Add BREAK;

This commit is contained in:
bjorn 2022-05-11 12:47:12 -07:00
parent e820e40e08
commit 3ff13edfb6
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#define ALIGN(p, n) (((uintptr_t) (p) + (n - 1)) & ~(n - 1))
#define COUNTOF(x) (sizeof(x) / sizeof(x[0]))
#define CHECK_SIZEOF(T) int(*_o)[sizeof(T)]=1
#define BREAK() __asm("int $3")
// Error handling
typedef void errorFn(void*, const char*, va_list);