Changeset 5191:67e63e9d1df9 in roaraudio
- Timestamp:
- 10/23/11 02:44:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/plugins.h
r4708 r5191 45 45 int plugins_reg_proto(struct roard_proto * proto); 46 46 47 #define ROARD_DL_REG_PROTO(proto) \ 48 static int __reg_proto(struct roar_dl_librarypara * para, struct roar_dl_libraryinst * lib) { \ 49 size_t i; \ 50 \ 51 (void)para, (void)lib; \ 52 \ 53 for (i = 0; i < (sizeof((proto))/sizeof(*(proto))); i++) \ 54 plugins_reg_proto(&((proto)[i])); \ 55 \ 56 return 0; \ 57 } 58 59 #define ROARD_DL_REGFN_PROTO() ROAR_DL_PLUGIN_REG(ROAR_DL_FN_PROTO, __reg_proto) 60 47 61 #endif 48 62
Note: See TracChangeset
for help on using the changeset viewer.