Changeset 5453:bc4b68a6c9e3 in roaraudio


Ignore:
Timestamp:
03/25/12 04:09:45 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

also support setting ABI version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/roardl.h

    r5427 r5453  
    104104// general stuff: 
    105105#define ROAR_DL_PLUGIN_ABORT_LOADING(err) roar_err_set((err)); return NULL 
    106 #define ROAR_DL_PLUGIN_CHECK_VERSIONS(app,abi) ((lib.host_appname = (app))    != NULL || \ 
    107                                                 (lib.host_abiversion = (abi)) != NULL ) 
     106#define ROAR_DL_PLUGIN_CHECK_VERSIONS(app,abi) (((lib.host_appname = (app))    != NULL) | \ 
     107                                                ((lib.host_abiversion = (abi)) != NULL) ) 
    108108// should we keep this macro at all? Is it helpfull at all? 
    109109// if a plugin can handle multiple hosts it needs to call roar_dl_para_check_version() itself anyway. 
Note: See TracChangeset for help on using the changeset viewer.