summaryrefslogtreecommitdiffstats
path: root/cython/property_list_client.pxi
diff options
context:
space:
mode:
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