Changeset 2654:8b47593e0e07 in roaraudio for libroar/debug.c
- Timestamp:
- 09/12/09 14:10:14 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/debug.c
r2650 r2654 36 36 37 37 void roar_debug_warn_sysio_real(char * func, char * newfunc, char * info) { 38 return -1; 38 struct roar_libroar_config * config = roar_libroar_get_config(); 39 40 if ( config->warnings.sysio == ROAR_WARNING_ALWAYS ) { 41 if ( newfunc == NULL ) { 42 ROAR_WARN("%s(*): This function is obsolete. %s", func, info == NULL ? "" : info); 43 } else { 44 ROAR_WARN("%s(*): This function is obsolete. Please use %s(...). %s", func, newfunc, info == NULL ? "" : info); 45 } 46 } 39 47 } 40 48
Note: See TracChangeset
for help on using the changeset viewer.