aboutsummaryrefslogtreecommitdiff
path: root/osc_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'osc_server.cpp')
-rw-r--r--osc_server.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/osc_server.cpp b/osc_server.cpp
index ea7c939..119d276 100644
--- a/osc_server.cpp
+++ b/osc_server.cpp
@@ -10,6 +10,11 @@
#include "osc_server.h"
+/*
+ * liblo callbacks
+ */
+extern "C" {
+
static void error_handler(int num, const char *msg, const char *path);
static int generic_handler(const char *path, const char *types, lo_arg **argv,
int argc, void *data, void *user_data);
@@ -24,6 +29,8 @@ static int method_generic_handler(const char *path, const char *types,
lo_arg **argv, int argc,
void *data, void *user_data);
+}
+
extern LayerList layers;
static void