Changeset 5109:4f9fc788fe91 in roaraudio for libroar/debug.c
- Timestamp:
- 07/28/11 16:32:34 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/debug.c
r4936 r5109 67 67 ROAR_WARN("%s(*): This function is obsolete. Please use %s(...). %s", func, newfunc, info == NULL ? "" : info); 68 68 } 69 } 70 } 71 72 void roar_debug_bin_obsolete(const char * progname, const char * newprog, const char * info) { 73 if ( info == NULL ) 74 info = ""; 75 76 if ( newprog == NULL ) { 77 roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "This program is obsolete and will be removed soon. %s", info); 78 } else { 79 roar_debug_msg(ROAR_DEBUG_TYPE_ERROR, 0, progname, ROAR_DBG_PREFIX, "This program is obsolete and will be removed soon. Please use %s. %s", newprog, info); 69 80 } 70 81 }
Note: See TracChangeset
for help on using the changeset viewer.