Changeset 5353:de96f27919bf in roaraudio for libroar
- Timestamp:
- 12/12/11 19:11:39 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libroar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/plugincontainer.c
r5320 r5353 44 44 size_t deprefc[MAX_PLUGINS]; 45 45 size_t numhandles; 46 // TODO: add a depref counter so we do not unload libs we depend on.47 46 }; 48 47 … … 127 126 128 127 roar_dl_close(cont->handle[i]); 128 cont->handle[i] = NULL; 129 cont->numhandles--; 129 130 } 130 131 } -
libroar/roardl.c
r5347 r5353 391 391 return -1; 392 392 393 if ( lib->host_appname != NULL || lib->host_abiversion != NULL ) { 394 // check for correct host. 395 if ( para == NULL ) { 396 roar_err_set(ROAR_ERROR_INVAL); 397 return -1; 398 } 399 if ( roar_dl_para_check_version(para, lib->host_appname, lib->host_abiversion) == -1 ) 400 return -1; 401 } 402 393 403 if ( (lib->libdep == NULL && lib->libdep_len) || (lib->libdep != NULL && !lib->libdep_len) ) { 394 404 roar_err_set(ROAR_ERROR_BADLIB);
Note: See TracChangeset
for help on using the changeset viewer.