diff options
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ #include <stdbool.h> #include <stdarg.h> +#define ARRLEN(x) (sizeof(x) / sizeof((x)[0])) + #define ERR(...) stdio_log(LOG_ERR, __VA_ARGS__) #define WARN(...) stdio_log(LOG_WARN, __VA_ARGS__) #define INFO(...) stdio_log(LOG_INFO, __VA_ARGS__) |
