Changeset 5353:de96f27919bf in roaraudio for libroar/roardl.c


Ignore:
Timestamp:
12/12/11 19:11:39 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

serveral updates to roarpluginrunner and plugin API in general

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/roardl.c

    r5347 r5353  
    391391  return -1; 
    392392 
     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 
    393403 if ( (lib->libdep == NULL && lib->libdep_len) || (lib->libdep != NULL && !lib->libdep_len) ) { 
    394404  roar_err_set(ROAR_ERROR_BADLIB); 
Note: See TracChangeset for help on using the changeset viewer.