diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-14 13:56:49 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-14 13:56:49 +0200 |
| commit | da83f54606c9c1d2786d87074ee17ed972d2e1b2 (patch) | |
| tree | 0be57934f9f467c87576abb0b457fb54b2d25d52 /exports/c/common.c | |
| parent | fd34e72da8c604517050ada7e883ba982829d985 (diff) | |
Refactor: Return without json
Diffstat (limited to 'exports/c/common.c')
| -rw-r--r-- | exports/c/common.c | 6 |
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); +} |
