From 0cac547eb79492e04176ad541fe6fb1d1f576824 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 27 Feb 2013 15:10:57 +0100 Subject: cython: Port all binding code to latest API and fix broken compilation --- cython/imobiledevice.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cython/imobiledevice.pyx') 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): -- cgit v1.1-32-gdbae