diff options
author | Nathan Ringo <nathan@remexre.com> | 2024-11-27 20:28:40 -0600 |
---|---|---|
committer | Nathan Ringo <nathan@remexre.com> | 2024-11-27 20:28:40 -0600 |
commit | b252d0de46cf12b8e2521b3eb42da9acc41a4cc1 (patch) | |
tree | 456bfed5547745edacebe8c89194c26f03a25908 /src/util.h | |
parent | 62e41dcb40d0450d493a804e7f0ac3e32f35aabf (diff) |
new simpler GC
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -28,4 +28,9 @@ todo__impl(const char *file, int line, const char *fmt, ...); #define todo(...) todo__impl(__FILE__, __LINE__, __VA_ARGS__) +__attribute__((format(printf, 3, 4))) noreturn void +unreachable__impl(const char *file, int line, const char *fmt, ...); + +#define unreachable(...) unreachable__impl(__FILE__, __LINE__, __VA_ARGS__) + #endif // IMB3_UTIL_H |