Changeset 3345:377e8dd42e73 in roaraudio


Ignore:
Timestamp:
02/07/10 19:15:12 (10 years ago)
Author:
phi
Branch:
default
Message:

added roar_mm_strdup()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/memmgr.h

    r2976 r3345  
    4444void   roar_mm_free(void *ptr); 
    4545void * roar_mm_realloc(void *ptr, size_t size); 
     46char * roar_mm_strdup(const char *s); 
    4647 
    4748/* 
     
    5556#define roar_mm_free(ptr)           free((ptr)) 
    5657#define roar_mm_realloc(ptr, size)  realloc((ptr), (size)) 
     58#define roar_mm_strdup(str)         strdup((str)) 
    5759#endif 
    5860 
Note: See TracChangeset for help on using the changeset viewer.