plugins: export a const function pointer interface struct

This commit is contained in:
Daniel Eklöf 2019-01-26 18:32:04 +01:00
parent 37266ae419
commit 452c4b6015
22 changed files with 255 additions and 230 deletions

View file

@ -36,6 +36,12 @@ struct plugin {
void *lib;
union {
const struct module_iface *module;
const struct particle_iface *particle;
const struct deco_iface *decoration;
const void *dummy;
#if 0
struct {
void *sym1;
void *sym2;
@ -44,6 +50,7 @@ struct plugin {
struct module_iface module;
struct particle_iface particle;
struct deco_iface decoration;
#endif
};
};