From c2335eab1db200481c3e81664f27f9244579397c Mon Sep 17 00:00:00 2001 From: onelin Date: Sat, 29 Nov 2025 23:01:24 +0100 Subject: Add UNIMPLEMENTED debug macro --- src/include/daw/logging.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/include/daw/logging.h b/src/include/daw/logging.h index fb5f887..59342fe 100644 --- a/src/include/daw/logging.h +++ b/src/include/daw/logging.h @@ -54,6 +54,8 @@ void __DEBUG(const char* file, const i32 line, const char* func, #define ASSERT(...) #endif +#define UNIMPLEMENTED DEBUG("%s is not implemented yet!", __func__); exit(EXIT_FAILURE) + #ifdef __cplusplus } #endif -- cgit v1.3