diff options
Diffstat (limited to 'cython/property_list_client.pxi')
-rw-r--r-- | cython/property_list_client.pxi | 20 |
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 @@ -cdef class PropertyListClient(Base): - cpdef send(self, plist.Node node): - self.handle_error(self._send(node._c_node)) - - cpdef object receive(self): - cdef: - plist.plist_t c_node = NULL - int16_t err - err = self._receive(&c_node) - try: - self.handle_error(err) - except BaseError, e: - if c_node != NULL: - plist.plist_free(c_node) - raise - - return plist.plist_t_to_node(c_node) - - cdef inline int16_t _send(self, plist.plist_t node): pass - cdef inline int16_t _receive(self, plist.plist_t* c_node): pass |