Fixed some macros

This commit is contained in:
Max 2023-02-01 21:12:16 +01:00
parent 3ef62d8c6d
commit e48ae98860
2 changed files with 5 additions and 5 deletions

View File

@ -17,8 +17,8 @@ struct exp_data* get_from_list(int index);
void clear_list();
// Tracing
#define PRINT_LINE(msg, args...) fprintf(stdout, #msg "\n", ##args)
#define TRACE_WARN(msg, args...) fprintf(stdout, "[Warning]: " #msg "\n", ##args)
#define TRACE_ERROR(msg, args...) fprintf(stderr, "[ERROR]: " #msg "\n", ##args)
#define PRINT_LINE(msg, args...) fprintf(stdout, msg "\n", ##args)
#define TRACE_WARN(msg, args...) fprintf(stdout, "[Warning]: " msg "\n", ##args)
#define TRACE_ERROR(msg, args...) fprintf(stderr, "[ERROR]: " msg "\n", ##args)
#endif