diff options
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 |