summaryrefslogtreecommitdiffstats
path: root/cython/notification_proxy.pxi
diff options
context:
space:
mode:
authorGravatar Andrea Oliveri2024-01-11 22:05:00 +0100
committerGravatar Nikias Bassen2024-04-01 13:23:02 +0200
commit59ec38cb6465f794cf8e2ab204711b9a10dd9eda (patch)
tree29612963b13ad121d2b8b697287653ec37550e86 /cython/notification_proxy.pxi
parent9eee3d14d19aaee60c3510c558a22ccb3dc2ce10 (diff)
downloadlibimobiledevice-59ec38cb6465f794cf8e2ab204711b9a10dd9eda.tar.gz
libimobiledevice-59ec38cb6465f794cf8e2ab204711b9a10dd9eda.tar.bz2
cython: Fix cython3 noexcept compilation error
Diffstat (limited to 'cython/notification_proxy.pxi')
-rw-r--r--cython/notification_proxy.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/notification_proxy.pxi b/cython/notification_proxy.pxi
index 203c783..261200e 100644
--- a/cython/notification_proxy.pxi
+++ b/cython/notification_proxy.pxi
@@ -70,7 +70,7 @@ NP_ITDBPREP_DID_END = C_NP_ITDBPREP_DID_END
NP_LANGUAGE_CHANGED = C_NP_LANGUAGE_CHANGED
NP_ADDRESS_BOOK_PREF_CHANGED = C_NP_ADDRESS_BOOK_PREF_CHANGED
-cdef void np_notify_cb(const_char_ptr notification, void *py_callback) with gil:
+cdef void np_notify_cb(const_char_ptr notification, void *py_callback) noexcept:
(<object>py_callback)(notification)
cdef class NotificationProxyError(BaseError):