changeset 3881:b2fc92d3b2dd

fix forward declaration of vtable in C++ mode. (bugzie #42)
author William Pitcock <nenolod@atheme.org>
date Thu, 01 Nov 2007 11:51:53 -0500
parents b03425e7f02c
children 0b524cf73f57
files src/audacious/plugin.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/plugin.h	Thu Nov 01 10:17:11 2007 -0500
+++ b/src/audacious/plugin.h	Thu Nov 01 11:51:53 2007 -0500
@@ -926,7 +926,9 @@
 #include "audacious/auddrct.h"
 
 /* for multi-file plugins :( */
+G_BEGIN_DECLS
 extern struct _AudaciousFuncTableV1 *_audvt;
+G_END_DECLS
 
 #define DECLARE_PLUGIN(name, init, fini, ...) \
 	G_BEGIN_DECLS \