mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-15 20:08:17 +00:00
[common] provide debug print methods for dependent libraries to use
This commit is contained in:
@@ -131,4 +131,13 @@ void printBacktrace(void);
|
||||
#define DEBUG_PROTO(fmt, ...) do {} while(0)
|
||||
#endif
|
||||
|
||||
void debug_info(const char * file, unsigned int line, const char * function,
|
||||
const char * format, ...) __attribute__((format (printf, 4, 5)));
|
||||
|
||||
void debug_warn(const char * file, unsigned int line, const char * function,
|
||||
const char * format, ...) __attribute__((format (printf, 4, 5)));
|
||||
|
||||
void debug_error(const char * file, unsigned int line, const char * function,
|
||||
const char * format, ...) __attribute__((format (printf, 4, 5)));
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user