summaryrefslogtreecommitdiff
path: root/exports/c/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'exports/c/common.c')
-rw-r--r--exports/c/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/exports/c/common.c b/exports/c/common.c
new file mode 100644
index 0000000..425a459
--- /dev/null
+++ b/exports/c/common.c
@@ -0,0 +1,6 @@
+#include "common.h"
+
+void call_callback(PythonCB callback, const char *name, int oldstate, int newstate, void* data)
+{
+ callback(name, oldstate, newstate, data);
+}