diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-09-17 21:50:34 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-09-17 21:50:34 +0200 |
| commit | 1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88 (patch) | |
| tree | 3eddf00f6f44356596b688325d4ef197c0e673e0 /src/utils/dbg_log.h | |
| parent | aa306fa0a2047f30d585da7923f963e8d321aa0b (diff) | |
| download | nissy-core-1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88.tar.gz nissy-core-1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88.zip | |
Added include guardsHEADmasterinclude-guards
Diffstat (limited to '')
| -rw-r--r-- | src/utils/dbg_log.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/dbg_log.h b/src/utils/dbg_log.h index 08d42a3..f22260a 100644 --- a/src/utils/dbg_log.h +++ b/src/utils/dbg_log.h | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | #ifndef UTILS_DBG_LOG_H | ||
| 2 | #define UTILS_DBG_LOG_H | ||
| 3 | |||
| 1 | #include <stdio.h> | 4 | #include <stdio.h> |
| 2 | 5 | ||
| 3 | void (*nissy_log)(const char *, void *); | 6 | void (*nissy_log)(const char *, void *); |
| @@ -31,3 +34,5 @@ write_wrapper(void (*write)(const char *, void *), const char *str, ...) | |||
| 31 | #define DBG_WARN(condition, ...) | 34 | #define DBG_WARN(condition, ...) |
| 32 | #define DBG_ASSERT(condition, ...) | 35 | #define DBG_ASSERT(condition, ...) |
| 33 | #endif | 36 | #endif |
| 37 | |||
| 38 | #endif /* UTILS_DBG_LOG_H */ | ||
