diff options
author | Martin Szulecki | 2013-02-27 15:10:57 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-27 15:10:57 +0100 |
commit | 0cac547eb79492e04176ad541fe6fb1d1f576824 (patch) | |
tree | c285e1a996233b2829645144bdfb936d64b4fcc1 /cython/imobiledevice.pyx | |
parent | 12754fa1c93d810f408b2de291b44e39eaee7ee5 (diff) | |
download | libimobiledevice-0cac547eb79492e04176ad541fe6fb1d1f576824.tar.gz libimobiledevice-0cac547eb79492e04176ad541fe6fb1d1f576824.tar.bz2 |
cython: Port all binding code to latest API and fix broken compilation
Diffstat (limited to 'cython/imobiledevice.pyx')
-rw-r--r-- | cython/imobiledevice.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cython/imobiledevice.pyx b/cython/imobiledevice.pyx index cdb9978..de59456 100644 --- a/cython/imobiledevice.pyx +++ b/cython/imobiledevice.pyx @@ -130,7 +130,7 @@ cdef class iDeviceConnection(Base): err = idevice_disconnect(self._c_connection) self.handle_error(err) - cdef inline BaseError _error(self, int16_t ret): + cdef BaseError _error(self, int16_t ret): return iDeviceError(ret) from libc.stdlib cimport * @@ -148,7 +148,7 @@ cdef class iDevice(Base): if self._c_dev is not NULL: self.handle_error(idevice_free(self._c_dev)) - cdef inline BaseError _error(self, int16_t ret): + cdef BaseError _error(self, int16_t ret): return iDeviceError(ret) cpdef iDeviceConnection connect(self, uint16_t port): |