Mercurial > audlegacy
comparison src/audacious/plugin.h @ 3061:7d858d2b4031
Use G_MODULE_EXPORT to ensure the plugin header is exported.
| author | William Pitcock <nenolod@atheme-project.org> |
|---|---|
| date | Fri, 13 Jul 2007 06:55:44 -0500 |
| parents | 9976e065e2f5 |
| children | f40b8491a812 |
comparison
equal
deleted
inserted
replaced
| 3056:41d3854f3625 | 3061:7d858d2b4031 |
|---|---|
| 108 #define DECLARE_PLUGIN(name, init, fini, ip_list, op_list, ep_list, gp_list, vp_list) \ | 108 #define DECLARE_PLUGIN(name, init, fini, ip_list, op_list, ep_list, gp_list, vp_list) \ |
| 109 G_BEGIN_DECLS \ | 109 G_BEGIN_DECLS \ |
| 110 static PluginHeader _pluginInfo = { PLUGIN_MAGIC, __AUDACIOUS_PLUGIN_API__, \ | 110 static PluginHeader _pluginInfo = { PLUGIN_MAGIC, __AUDACIOUS_PLUGIN_API__, \ |
| 111 (gchar *)#name, init, fini, NULL, ip_list, op_list, ep_list, gp_list, \ | 111 (gchar *)#name, init, fini, NULL, ip_list, op_list, ep_list, gp_list, \ |
| 112 vp_list }; \ | 112 vp_list }; \ |
| 113 PluginHeader *get_plugin_info(void) { \ | 113 G_MODULE_EXPORT PluginHeader *get_plugin_info(void) { \ |
| 114 return &_pluginInfo; \ | 114 return &_pluginInfo; \ |
| 115 } \ | 115 } \ |
| 116 G_END_DECLS | 116 G_END_DECLS |
| 117 | 117 |
| 118 /* Sadly, this is the most we can generalize out of the disparate | 118 /* Sadly, this is the most we can generalize out of the disparate |
