Changeset 3301:9d6e6d3bb1eb in roaraudio for libroar/roardl.c


Ignore:
Timestamp:
02/02/10 23:23:23 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some support for unload function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/roardl.c

    r3300 r3301  
    6161 
    6262int                      roar_dl_close(struct roar_dl_lhandle * lhandle) { 
     63 if ( lhandle == ROAR_DL_HANDLE_DEFAULT ) 
     64  return -1; 
     65 if ( lhandle == ROAR_DL_HANDLE_NEXT ) 
     66  return -1; 
     67 
     68 if ( lhandle->lib != NULL && lhandle->lib->unload != NULL ) 
     69  lhandle->lib->unload(lhandle->para, lhandle->lib); 
     70 
    6371#if defined(ROAR_HAVE_LIBDL) 
    6472 return dlclose(_roardl2ldl(lhandle)); 
Note: See TracChangeset for help on using the changeset viewer.