Replace printf/fprintf with own print_info() / print_error() using SDL_log
[mercenary-reloaded.git] / src / libsdl / print.h
1
2 #define print_info(format, arg...) _print_info(format, ##arg)
3 void __attribute__ ((format (printf, 1, 2))) _print_info(const char *format, ...);
4
5 #define print_error(format, arg...) _print_error(__FILE__, __LINE__, format, ##arg)
6 void __attribute__ ((format (printf, 3, 4))) _print_error(const char *_file, int _line, const char *format, ...);
7