Lines Matching refs:format
34 #define __println(prefix, format, ...) \ argument
35 fprintf(stderr, prefix __PREFIX "%s: " format "\n", __func__, \
38 #define debug(format, ...) \ argument
41 __println("", format, ##__VA_ARGS__); \
44 #define warn(format, ...) __println("warning: ", format, ##__VA_ARGS__) argument
45 #define error(format, ...) \ argument
47 __println("error: ", format, ##__VA_ARGS__); \
51 #define __die_debug(color, format, ...) \ argument
55 "\033[" #color "m<" format ">\033[39m", \
59 #define die_debug_r(format, ...) __die_debug(91, format, __VA_ARGS__) argument
60 #define die_debug_g(format, ...) __die_debug(92, format, __VA_ARGS__) argument
61 #define die_debug_b(format, ...) __die_debug(94, format, __VA_ARGS__) argument