From 28ad019d62583b7e89b4e76922aa73857d5876eb Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 28 May 2024 15:42:26 +0200 Subject: Added roadmap for refactor and some simple routines --- src/cube.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/cube.c') diff --git a/src/cube.c b/src/cube.c index e1a53e5..df48d7e 100644 --- a/src/cube.c +++ b/src/cube.c @@ -9,10 +9,8 @@ #define DBG_LOG(...) fprintf(stderr, __VA_ARGS__) #define DBG_WARN(condition, ...) if (!(condition)) DBG_LOG(__VA_ARGS__); #define DBG_ASSERT(condition, retval, ...) \ - if (!(condition)) { \ - DBG_LOG(__VA_ARGS__); \ - return retval; \ - } + if (!(condition)) { DBG_LOG(__VA_ARGS__); return retval; } + #else #define _static static #define _static_inline static inline -- cgit v1.3