Changeset 4974:ab7ac5b9c4df in roaraudio


Ignore:
Timestamp:
05/16/11 14:44:19 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_mm_free_retvoid()

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/memmgr.h

    r4958 r4974  
    6464#endif 
    6565 
     66// dummy function doing the same as roar_mm_free() but return void. 
     67// this should only be used in case a function pointer of this type is required. 
     68void roar_mm_free_retvoid(void *ptr); 
    6669 
    6770// memory locking: 
  • libroar/memmgr.c

    r4972 r4974  
    169169} 
    170170 
     171void roar_mm_free_retvoid(void *ptr) { 
     172 roar_mm_free(ptr); 
     173} 
     174 
    171175#if defined(ROAR_USE_MEMMGR) || !defined(ROAR_HAVE_STRDUP) 
    172176char * roar_mm_strdup(const char *s) { 
Note: See TracChangeset for help on using the changeset viewer.