changeset 98:e42694a28331 trunk

[svn] More progress -- now loads as an audacious module. :)
author nenolod
date Tue, 01 Nov 2005 21:34:11 -0800
parents 6b7d49bd0292
children 4b2b964a7694
files Plugins/Input/console/Audacious_Driver.cpp
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp	Tue Nov 01 21:25:40 2005 -0800
+++ b/Plugins/Input/console/Audacious_Driver.cpp	Tue Nov 01 21:34:11 2005 -0800
@@ -8,6 +8,8 @@
 
 #include "Audacious_Driver.h"
 
+extern "C" {
+
 #include <glib/gi18n.h>
 #include "libaudacious/configfile.h"
 #include "libaudacious/util.h"
@@ -15,6 +17,8 @@
 #include "audacious/output.h"
 #include <gtk/gtk.h>
 
+};
+
 #include <cstring>
 
 static Spc_Emu *spc = NULL;
@@ -119,7 +123,7 @@
         console_ip.output->close_audio();
 }
 
-InputPlugin *get_iplugin_info(void)
+extern "C" InputPlugin *get_iplugin_info(void)
 {
         console_ip.description = g_strdup_printf(_("Console music plugin"));
         return &console_ip;