#ifndef PRINT
#define PRINT(fmt, ...) \
do { printf(fmt, ##__VA_ARGS__); printf("\n"); } while (0)
#endif
#ifndef TRACE
#define TRACE(fmt, ...) do {\
printf("%s:%d:%s(): ", __FILE__, __LINE__, __func__); \
printf(fmt, ##__VA_ARGS__); \
printf("\n"); \
}while (0) |