Mercurial > audlegacy
diff src/audacious/plugin.h @ 2802:c799098c396f trunk
[svn] - guard v2 module header with G_BEGIN_DECLS and G_END_DECLS
| author | nenolod |
|---|---|
| date | Thu, 24 May 2007 16:17:12 -0700 |
| parents | f0c1c8b22c88 |
| children | b2fb6a4e02b8 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Thu May 24 15:47:58 2007 -0700 +++ b/src/audacious/plugin.h Thu May 24 16:17:12 2007 -0700 @@ -106,12 +106,14 @@ #define PLUGIN_MAGIC 0x8EAC8DE2 #define DECLARE_PLUGIN(name, init, fini, ip_list, op_list, ep_list, gp_list, vp_list) \ + G_BEGIN_DECLS \ static PluginHeader _pluginInfo = { PLUGIN_MAGIC, __AUDACIOUS_PLUGIN_API__, \ #name, init, fini, NULL, ip_list, op_list, ep_list, gp_list, \ vp_list }; \ PluginHeader *get_plugin_info(void) { \ return &_pluginInfo; \ - } + } \ + G_END_DECLS /* Sadly, this is the most we can generalize out of the disparate plugin structs usable with typecasts - descender */
