From fdb3e194ba9f9c4b073edb324df5f177315ce6bf Mon Sep 17 00:00:00 2001 From: Konstantin Kowalski Date: Fri, 9 Aug 2013 15:35:19 +0000 Subject: Added INFO() debugging macro. --- testing/misc_tools.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testing/misc_tools.h') diff --git a/testing/misc_tools.h b/testing/misc_tools.h index 1abdb809..e50a8f7f 100644 --- a/testing/misc_tools.h +++ b/testing/misc_tools.h @@ -51,6 +51,10 @@ unsigned char * hex_string_to_bin(char hex_string[]); DEBUG_PRINT(__VA_ARGS__, ' '); \ } while (0) + #define INFO(...) do { \ + DEBUG_PRINT(__VA_ARGS__, ' '); \ + } while (0) + #undef ERROR #define ERROR(exit_status, ...) do { \ fprintf(stderr, "error in "); \ @@ -59,6 +63,7 @@ unsigned char * hex_string_to_bin(char hex_string[]); } while (0) #else #define WARNING(...) + #define INFO(...) #undef ERROR #define ERROR(...) #endif // DEBUG -- cgit v1.2.3