Whitespace only changes
This commit is contained in:
parent
8231c74bae
commit
40e1f3ca64
17 changed files with 283 additions and 269 deletions
20
src/debug.c
20
src/debug.c
|
|
@ -61,15 +61,15 @@ void debug_println( int level ) {
|
|||
* `wprintf` adapted for the debug logging system. Print to stderr only
|
||||
* `verbosity` matches `level`. All other arguments as for `wprintf`.
|
||||
*/
|
||||
void debug_printf( int level, wchar_t * format, ...) {
|
||||
#ifdef DEBUG
|
||||
if ( level & verbosity ) {
|
||||
fwide( stderr, 1 );
|
||||
va_list(args);
|
||||
va_start(args, format);
|
||||
vfwprintf(stderr, format, args);
|
||||
}
|
||||
#endif
|
||||
void debug_printf( int level, wchar_t *format, ... ) {
|
||||
#ifdef DEBUG
|
||||
if ( level & verbosity ) {
|
||||
fwide( stderr, 1 );
|
||||
va_list( args );
|
||||
va_start( args, format );
|
||||
vfwprintf( stderr, format, args );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -92,7 +92,7 @@ void debug_print_object( struct cons_pointer pointer, int level ) {
|
|||
void debug_dump_object( struct cons_pointer pointer, int level ) {
|
||||
#ifdef DEBUG
|
||||
if ( level & verbosity ) {
|
||||
fwide( stderr, 1 );
|
||||
fwide( stderr, 1 );
|
||||
dump_object( stderr, pointer );
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue