Changeset 5347:1d76e45ebfd1 in roaraudio for libroar


Ignore:
Timestamp:
12/10/11 01:34:28 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added some support and handling code for libdeps. currently it can be parsed and if there is libdep info in a file loading is canceled because we can not load additional stuff at the moment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/roardl.c

    r5344 r5347  
    391391  return -1; 
    392392 
     393 if ( (lib->libdep == NULL && lib->libdep_len) || (lib->libdep != NULL && !lib->libdep_len) ) { 
     394  roar_err_set(ROAR_ERROR_BADLIB); 
     395  return -1; 
     396 } 
     397 
     398 if ( lib->libdep != NULL && lib->libdep_len ) { 
     399  // dynamic loader infos are currently not supported. 
     400  roar_err_set(ROAR_ERROR_NOTSUP); 
     401  return -1; 
     402 } 
     403 
    393404 if ( !((void*)lhandle < (void*)128) ) { 
    394405  lhandle->lib = lib; 
Note: See TracChangeset for help on using the changeset viewer.