diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-19 16:19:01 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-19 16:19:01 +0200 |
| commit | abe3588e56850403f7ebaf3c9090552e5f4830c6 (patch) | |
| tree | 2e9301bed577ca3d711361f255df43cd46a097da /exports/c/common.h | |
| parent | 5f2e7ef988ac1267fe5038419b19b0154f9d5a84 (diff) | |
Exports: Simplify building
- Remove subdir c
- Do not compile c code as a separate shared library
- Move all definitions/declarations into the preamble as they shouldn't be shared anyways. So no headers are needed
- Define the callback as static, needed so we don't get a duplicate declaration
Diffstat (limited to 'exports/c/common.h')
| -rw-r--r-- | exports/c/common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/exports/c/common.h b/exports/c/common.h deleted file mode 100644 index 068ad4c..0000000 --- a/exports/c/common.h +++ /dev/null @@ -1,3 +0,0 @@ -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); |
