summaryrefslogtreecommitdiffstats
path: root/cython/imobiledevice.pyx
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-05-17 15:44:31 +0200
committerGravatar Martin Szulecki2012-05-17 15:44:31 +0200
commit84235e0834e57551028329723f4510e1dbe7bc11 (patch)
tree5cc9820c8954cec6bfc4758b6b8474932087dfdd /cython/imobiledevice.pyx
parent70dfe8ad1766990386f1db04bbe5a4826bcde4e5 (diff)
downloadlibimobiledevice-84235e0834e57551028329723f4510e1dbe7bc11.tar.gz
libimobiledevice-84235e0834e57551028329723f4510e1dbe7bc11.tar.bz2
cython: Do not override final methods as comply to Cython >= 0.16 strict check
Diffstat (limited to 'cython/imobiledevice.pyx')
-rw-r--r--cython/imobiledevice.pyx7
1 files changed, 3 insertions, 4 deletions
diff --git a/cython/imobiledevice.pyx b/cython/imobiledevice.pyx
index ffaa3c1..9d2e13d 100644
--- a/cython/imobiledevice.pyx
+++ b/cython/imobiledevice.pyx
@@ -25,9 +25,8 @@ cdef class Base:
return 0
cdef BaseError err = self._error(ret)
raise err
- return -1
- cdef inline BaseError _error(self, int16_t ret): pass
+ cdef BaseError _error(self, int16_t ret): pass
cdef extern from "libimobiledevice/libimobiledevice.h":
ctypedef enum idevice_error_t:
@@ -211,10 +210,10 @@ cdef class PropertyListService(BaseService):
plist.plist_free(c_node)
raise
- cdef inline int16_t _send(self, plist.plist_t node):
+ cdef int16_t _send(self, plist.plist_t node):
raise NotImplementedError("send is not implemented")
- cdef inline int16_t _receive(self, plist.plist_t* c_node):
+ cdef int16_t _receive(self, plist.plist_t* c_node):
raise NotImplementedError("receive is not implemented")
cdef class DeviceLinkService(PropertyListService):