diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-04-21 12:24:06 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-09-26 20:15:21 -0400 |
commit | 04b822c3aa79f47e593fdb020c0b95d9975c6b1f (patch) | |
tree | 6d10282c7384586a5746b16ee23de1ec0b85b864 | |
parent | 73b78af6b226c2826b98197e38cd76a448f9498f (diff) | |
download | kutter-04b822c3aa79f47e593fdb020c0b95d9975c6b1f.tar.gz kutter-04b822c3aa79f47e593fdb020c0b95d9975c6b1f.tar.xz kutter-04b822c3aa79f47e593fdb020c0b95d9975c6b1f.zip |
chelper: Use standard C type definition for pyhelper_logging_callback
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | klippy/chelper/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py index e0db5edd..ed2ae457 100644 --- a/klippy/chelper/__init__.py +++ b/klippy/chelper/__init__.py @@ -232,7 +232,7 @@ def get_ffi(): def logging_callback(msg): logging.error(FFI_main.string(msg)) pyhelper_logging_callback = FFI_main.callback( - "void(const char *)", logging_callback) + "void func(const char *)", logging_callback) FFI_lib.set_python_logging_callback(pyhelper_logging_callback) return FFI_main, FFI_lib |