diff options
author | kaiwu <kaiwu2004@gmail.com> | 2025-03-01 12:42:23 +0800 |
---|---|---|
committer | kaiwu <kaiwu2004@gmail.com> | 2025-03-01 12:42:23 +0800 |
commit | 3f33461e4948bf05e60bdff35ec6c57a649c7860 (patch) | |
tree | 284c2ba95a41536ae1bff6bea710db0709a64739 /lua-redis-parser-0.13/ddebug.h | |
download | openresty-3f33461e4948bf05e60bdff35ec6c57a649c7860.tar.gz openresty-3f33461e4948bf05e60bdff35ec6c57a649c7860.zip |
openresty bundle
Diffstat (limited to 'lua-redis-parser-0.13/ddebug.h')
-rw-r--r-- | lua-redis-parser-0.13/ddebug.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua-redis-parser-0.13/ddebug.h b/lua-redis-parser-0.13/ddebug.h new file mode 100644 index 0000000..5b61a26 --- /dev/null +++ b/lua-redis-parser-0.13/ddebug.h @@ -0,0 +1,14 @@ +#if defined(DDEBUG) && (DDEBUG) + +# include <stdio.h> + +# define dd(...) \ + fprintf(stderr, __VA_ARGS__); \ + fprintf(stderr, "\n") + +#else + +# define dd(fmt, ...) + +#endif + |