Changeset 5755:d61e5f9b4111 in roaraudio for libroar
- Timestamp:
- 11/16/12 16:54:46 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/memmgr.c
r5602 r5755 271 271 #endif 272 272 273 char * roar_mm_strdup2(const char *s, const char *def) { 274 if ( s == NULL ) 275 s = def; 276 if ( s == NULL ) { 277 roar_err_clear(); 278 return NULL; 279 } 280 281 return roar_mm_strdup(s); 282 } 283 273 284 #ifndef ROAR_HAVE_STRLEN 274 285 ssize_t roar_mm_strlen(const char *s) {
Note: See TracChangeset
for help on using the changeset viewer.