From fd5ddb3db9f50411ca579d84f225f265ca35b56a Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 5 Sep 2024 08:53:38 +0200 Subject: Rename constants from _underscore to CAPS --- src/utils/dbg_log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils/dbg_log.h') diff --git a/src/utils/dbg_log.h b/src/utils/dbg_log.h index 427eceb..f9b1d8a 100644 --- a/src/utils/dbg_log.h +++ b/src/utils/dbg_log.h @@ -3,14 +3,14 @@ void (*nissy_log)(const char *, ...); #define LOG(...) if (nissy_log != NULL) nissy_log(__VA_ARGS__); #ifdef DEBUG -#define _static -#define _static_inline +#define STATIC +#define STATIC_INLINE #define DBG_WARN(condition, ...) if (!(condition)) LOG(__VA_ARGS__); #define DBG_ASSERT(condition, retval, ...) \ if (!(condition)) { LOG(__VA_ARGS__); return retval; } #else -#define _static static -#define _static_inline static inline +#define STATIC static +#define STATIC_INLINE static inline #define DBG_WARN(condition, ...) #define DBG_ASSERT(condition, retval, ...) #endif -- cgit v1.3