Changeset 5640:00dd1147ce70 in roaraudio for roard/include/plugins.h


Ignore:
Timestamp:
09/10/12 16:18:22 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Removed support for roard's proto support (replaced by CPI) (Closes: #278)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/include/plugins.h

    r5639 r5640  
    4141void print_pluginlist(enum output_format format); 
    4242 
    43 int plugins_reg_proto(struct roard_proto         * proto); 
    44  
    45 #define ROARD_DL_REG__UNI_PRE(name) \ 
    46  static int __reg_ ## name(struct roar_dl_librarypara * para, struct roar_dl_libraryinst * lib) { \ 
    47   size_t i; \ 
    48  \ 
    49   (void)para, (void)lib; 
    50  
    51 #define ROARD_DL_REG__UNI_POST \ 
    52  \ 
    53   return 0; \ 
    54  } 
    55  
    56 #define ROARD_DL_REG_PROTO(proto) \ 
    57  ROARD_DL_REG__UNI_PRE(proto) \ 
    58   for (i = 0; i < (sizeof((proto))/sizeof(*(proto))); i++) \ 
    59    plugins_reg_proto(&((proto)[i])); \ 
    60  ROARD_DL_REG__UNI_POST 
    61  
    62 // Register Protocol callbacks: 
    63 #define ROARD_DL_REGFN_PROTO() ROAR_DL_PLUGIN_REG(ROAR_DL_FN_PROTO, __reg_proto) 
    64  
    6543// Check version: 
    6644#define ROARD_DL_CHECK_VERSIONS() ROAR_DL_PLUGIN_CHECK_VERSIONS(ROARD_DL_APPNAME, ROARD_DL_ABIVERSION) 
Note: See TracChangeset for help on using the changeset viewer.