[common] provide debug print methods for dependent libraries to use
This commit is contained in:
1 parent
17b77cfbc1
commit
2ed3c82de0
3 files changed
+73
No files matched your search
@@ -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