From da83f54606c9c1d2786d87074ee17ed972d2e1b2 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 14 Sep 2022 13:56:49 +0200 Subject: Refactor: Return without json --- exports/c/common.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 exports/c/common.h (limited to 'exports/c/common.h') diff --git a/exports/c/common.h b/exports/c/common.h new file mode 100644 index 0000000..068ad4c --- /dev/null +++ b/exports/c/common.h @@ -0,0 +1,3 @@ +typedef void (*PythonCB)(const char* name, int oldstate, int newstate, void* data); + +void call_callback(PythonCB callback, const char *name, int oldstate, int newstate, void* data); -- cgit v1.2.3