Go to the documentation of this file.
35 #define LOG(fmt, args...) \
36 __log_append(__FILE__, __LINE__, fmt, ## args);
38 #define LOG_COND(cond, fmt, args...) \
39 if ( cond ) { __log_append(__FILE__, __LINE__, fmt, ## args); }
41 void __log_append(
const char * file,
int line,
const char * fmt, ...);
43 #define DO_PRAGMA(x) _Pragma (#x)
44 #define TODO(x) DO_PRAGMA(message ("TODO - " #x))
48 #define LOG(fmt, args...)
50 #define LOG_COND(cond, fmt, args...)