aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 2cc0a26..574f380 100644
--- a/main.cpp
+++ b/main.cpp
@@ -784,10 +784,11 @@ static t_object *xmlrpc_new(t_floatarg p)
/*! \brief Library setup routine
\note Must be exported from shared library
*/
-extern "C"
+extern "C" {
#ifdef NT
__declspec(dllexport)
#endif
+
void xmlrpc_setup()
{
// post some message to the console
@@ -803,3 +804,6 @@ void xmlrpc_setup()
xmlrpc_class = class_new(gensym("xmlrpc"),(t_newmethod)xmlrpc_new,NULL,sizeof(t_object),CLASS_NOINLET, A_FLOAT,A_NULL);
}
+void iemxmlrpc_setup() { xmlrpc_setup(); }
+
+}