diff options
author | 2024-01-11 22:05:00 +0100 | |
---|---|---|
committer | 2024-04-01 13:23:02 +0200 | |
commit | 59ec38cb6465f794cf8e2ab204711b9a10dd9eda (patch) | |
tree | 29612963b13ad121d2b8b697287653ec37550e86 /cython/imobiledevice.pyx | |
parent | 9eee3d14d19aaee60c3510c558a22ccb3dc2ce10 (diff) | |
download | libimobiledevice-59ec38cb6465f794cf8e2ab204711b9a10dd9eda.tar.gz libimobiledevice-59ec38cb6465f794cf8e2ab204711b9a10dd9eda.tar.bz2 |
cython: Fix cython3 noexcept compilation error
Diffstat (limited to 'cython/imobiledevice.pyx')
-rw-r--r-- | cython/imobiledevice.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/imobiledevice.pyx b/cython/imobiledevice.pyx index 2a125aa..8da2296 100644 --- a/cython/imobiledevice.pyx +++ b/cython/imobiledevice.pyx | |||
@@ -94,7 +94,7 @@ cdef class iDeviceEvent: | |||
94 | def __get__(self): | 94 | def __get__(self): |
95 | return self._c_event.conn_type | 95 | return self._c_event.conn_type |
96 | 96 | ||
97 | cdef void idevice_event_cb(const_idevice_event_t c_event, void *user_data) with gil: | 97 | cdef void idevice_event_cb(const_idevice_event_t c_event, void *user_data) noexcept: |
98 | cdef iDeviceEvent event = iDeviceEvent.__new__(iDeviceEvent) | 98 | cdef iDeviceEvent event = iDeviceEvent.__new__(iDeviceEvent) |
99 | event._c_event = c_event | 99 | event._c_event = c_event |
100 | (<object>user_data)(event) | 100 | (<object>user_data)(event) |