summaryrefslogtreecommitdiffstats
path: root/cython/imobiledevice.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'cython/imobiledevice.pyx')
-rw-r--r--cython/imobiledevice.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cython/imobiledevice.pyx b/cython/imobiledevice.pyx
index 7898290..654288e 100644
--- a/cython/imobiledevice.pyx
+++ b/cython/imobiledevice.pyx
@@ -134,7 +134,7 @@ cdef class iDeviceConnection(Base):
134 cdef inline BaseError _error(self, int16_t ret): 134 cdef inline BaseError _error(self, int16_t ret):
135 return iDeviceError(ret) 135 return iDeviceError(ret)
136 136
137cimport stdlib 137from libc.stdlib cimport *
138 138
139cdef class iDevice(Base): 139cdef class iDevice(Base):
140 def __cinit__(self, object uuid=None, *args, **kwargs): 140 def __cinit__(self, object uuid=None, *args, **kwargs):
@@ -180,7 +180,7 @@ cdef class iDevice(Base):
180 return uuid 180 return uuid
181 except Exception, e: 181 except Exception, e:
182 if uuid != NULL: 182 if uuid != NULL:
183 stdlib.free(uuid) 183 free(uuid)
184 property handle: 184 property handle:
185 def __get__(self): 185 def __get__(self):
186 cdef uint32_t handle 186 cdef uint32_t handle