Changeset 3614:762276cff748 in roaraudio
- Timestamp:
- 03/01/10 03:26:57 (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/debug.h
r3611 r3614 64 64 65 65 void roar_debug_set_stderr_fh(int fh); 66 void roar_debug_set_stderr_vio(struct roar_vio_calls * vio); 66 67 void roar_debug_set_stderr_mode(int mode); 67 68 -
libroar/debug.c
r3611 r3614 36 36 #include "libroar.h" 37 37 38 static int roar_debug_stderr_mode = ROAR_DEBUG_MODE_SYSIO; 39 static int roar_debug_stderr_fh = ROAR_STDERR; 38 static int roar_debug_stderr_mode = ROAR_DEBUG_MODE_SYSIO; 39 static int roar_debug_stderr_fh = ROAR_STDERR; 40 static struct roar_vio_calls * roar_debug_stderr_vio = NULL; 40 41 41 42 void roar_debug_warn_sysio_real(char * func, char * newfunc, char * info) { … … 55 56 } 56 57 58 void roar_debug_set_stderr_vio(struct roar_vio_calls * vio) { 59 roar_debug_stderr_vio = vio; 60 } 61 57 62 void roar_debug_set_stderr_mode(int mode) { 58 63 roar_debug_stderr_mode = mode; … … 70 75 71 76 return &STDERR; 77 break; 78 case ROAR_DEBUG_MODE_VIO: 79 return roar_debug_stderr_vio; 72 80 break; 73 81 default:
Note: See TracChangeset
for help on using the changeset viewer.