summaryrefslogtreecommitdiffstats
path: root/cython/property_list_client.pxi
diff options
context:
space:
mode:
authorGravatar Bryan Forbes2010-04-19 12:39:21 -0500
committerGravatar Martin Szulecki2012-03-20 23:25:55 +0100
commit49fc86155ca2ec847239f7969ac190dfe7aa4920 (patch)
treef8333e0b0f63a6797bbe8e839b094bb800af445d /cython/property_list_client.pxi
parent6f40114fd26dd0bfb7fcbe4067cc7f4f3eec428a (diff)
downloadlibimobiledevice-49fc86155ca2ec847239f7969ac190dfe7aa4920.tar.gz
libimobiledevice-49fc86155ca2ec847239f7969ac190dfe7aa4920.tar.bz2
Removed property_list_client.pxi.
Added notification strings.
Diffstat (limited to 'cython/property_list_client.pxi')
-rw-r--r--cython/property_list_client.pxi20
1 files changed, 0 insertions, 20 deletions
diff --git a/cython/property_list_client.pxi b/cython/property_list_client.pxi
deleted file mode 100644
index 718b07f..0000000
--- a/cython/property_list_client.pxi
+++ /dev/null
@@ -1,20 +0,0 @@
1cdef class PropertyListClient(Base):
2 cpdef send(self, plist.Node node):
3 self.handle_error(self._send(node._c_node))
4
5 cpdef object receive(self):
6 cdef:
7 plist.plist_t c_node = NULL
8 int16_t err
9 err = self._receive(&c_node)
10 try:
11 self.handle_error(err)
12 except BaseError, e:
13 if c_node != NULL:
14 plist.plist_free(c_node)
15 raise
16
17 return plist.plist_t_to_node(c_node)
18
19 cdef inline int16_t _send(self, plist.plist_t node): pass
20 cdef inline int16_t _receive(self, plist.plist_t* c_node): pass