summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-11-29 22:01:24 +0000
committeronelin <oscar@nelin.dk>2025-12-18 21:14:15 +0000
commitc2335eab1db200481c3e81664f27f9244579397c (patch)
treec30294ed2d75bbb2b0a7a00c1edd28819af3c455
parenta184c285d0854ba0a0d0bf9032c4b4e680b257d6 (diff)
Add UNIMPLEMENTED debug macro
-rw-r--r--src/include/daw/logging.h2
1 files changed, 2 insertions, 0 deletions
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