summaryrefslogtreecommitdiffstats
path: root/cython/screenshotr.pxi
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-03-20 22:56:33 +0100
committerGravatar Martin Szulecki2012-03-20 23:25:56 +0100
commit2d9ecc3d805e616b2bf85c0b8e99737e9b30c89d (patch)
tree48e924795c6bf3c217de61efe6048f6bb6573244 /cython/screenshotr.pxi
parent3e9d17ccd5212c110db9cfb5daa2d889d0a1aee4 (diff)
downloadlibimobiledevice-2d9ecc3d805e616b2bf85c0b8e99737e9b30c89d.tar.gz
libimobiledevice-2d9ecc3d805e616b2bf85c0b8e99737e9b30c89d.tar.bz2
cython: Update to latest API and fix deprecation warnings with cython 0.13+
Diffstat (limited to 'cython/screenshotr.pxi')
-rw-r--r--cython/screenshotr.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/screenshotr.pxi b/cython/screenshotr.pxi
index 9213b64..a53fab2 100644
--- a/cython/screenshotr.pxi
+++ b/cython/screenshotr.pxi
@@ -55,7 +55,7 @@ cdef class ScreenshotrClient(DeviceLinkService):
55 return result 55 return result
56 except Exception, e: 56 except Exception, e:
57 if c_data != NULL: 57 if c_data != NULL:
58 stdlib.free(c_data) 58 free(c_data)
59 raise 59 raise
60 60
61 cdef inline BaseError _error(self, int16_t ret): 61 cdef inline BaseError _error(self, int16_t ret):