| debug_printf.h | | debug_printf.h | |
| | | | |
| skipping to change at line 37 | | skipping to change at line 37 | |
| | | | |
| /** Internal function, do no use */ | | /** Internal function, do no use */ | |
| void debug_printf_real(DebugLevel dp, const char *file,const int line,const
char *function, const char *format,...); | | void debug_printf_real(DebugLevel dp, const char *file,const int line,const
char *function, const char *format,...); | |
| | | | |
| /** | | /** | |
| * @param dp The debug level the message is at. | | * @param dp The debug level the message is at. | |
| * @param format a printf style string | | * @param format a printf style string | |
| * @param ARGS arguments for format | | * @param ARGS arguments for format | |
| */ | | */ | |
| #define debug_printf(dp, format, ARGS...) debug_printf_real(dp,__FILE__,__L
INE__,__FUNCTION__,format,##ARGS) | | #define debug_printf(dp, format, ARGS...) debug_printf_real(dp,__FILE__,__L
INE__,__FUNCTION__,format,##ARGS) | |
|
| | | | |
| | | /** | |
| | | * @param fp a #FILE | |
| | | * | |
| | | * Redirect the output from stdout to fp. | |
| | | * Set to NULL, to revert back to stdout. | |
| | | */ | |
| | | void debug_set_output(FILE *fp); | |
| /*@}*/ | | /*@}*/ | |
| #endif | | #endif | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 8 lines changed or added | |
|