diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-10-09 09:06:04 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-10-09 09:06:04 -0700 |
| commit | c74bd1baa844eac1fcb17a266ef720ed0c1ae616 (patch) | |
| tree | 9b5c7699c8704b0930daeddffa568990254a231b /include/utils.h | |
| parent | f021512078e7d2447e46a4856a81c0ba6e030d43 (diff) | |
| download | macaroni-c74bd1baa844eac1fcb17a266ef720ed0c1ae616.tar.gz macaroni-c74bd1baa844eac1fcb17a266ef720ed0c1ae616.zip | |
Bit o a refactah
Diffstat (limited to 'include/utils.h')
| -rw-r--r-- | include/utils.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h new file mode 100644 index 0000000..9ea1f09 --- /dev/null +++ b/include/utils.h @@ -0,0 +1,13 @@ +#include <stdbool.h> + +#ifndef UTILS_H +#define UTILS_H + +#ifndef asm +#define asm __asm__ volatile +#endif + +void macaroni_panic(char* msg); +void macaroni_assert(bool condition, char* msg); + +#endif // UTILS_H
\ No newline at end of file |
