summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-07-30 17:02:25 +0200
committerGravatar Martin Szulecki2014-07-30 17:02:25 +0200
commite05f126216fda0eaa6afcadde275ef2a838f3b53 (patch)
tree684a2f180ed1f4377d5a803dea93721ee2660ac0 /cython
parent82e90578d2aaa178ddc6609fde8890db93b6b07b (diff)
downloadlibplist-e05f126216fda0eaa6afcadde275ef2a838f3b53.tar.gz
libplist-e05f126216fda0eaa6afcadde275ef2a838f3b53.tar.bz2
cython: Fix Python library import fail due to removed 'plist_set_type' symbol
Diffstat (limited to 'cython')
-rw-r--r--cython/plist.pyx5
1 files changed, 1 insertions, 4 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx
index 512594a..8ca668f 100644
--- a/cython/plist.pyx
+++ b/cython/plist.pyx
@@ -78,8 +78,6 @@ cdef extern from *:
plist_t plist_get_parent(plist_t node)
plist_type plist_get_node_type(plist_t node)
- void plist_set_type(plist_t node, plist_type type)
-
void plist_from_xml(char *plist_xml, uint32_t length, plist_t * plist)
void plist_from_bin(char *plist_bin, uint32_t length, plist_t * plist)
@@ -337,8 +335,7 @@ cdef class Key(Node):
raise ValueError("Requires unicode input, got %s" % type(value))
c_utf8_data = utf8_data
self._c_node = plist_new_string("")
- plist_set_type(self._c_node, PLIST_KEY)
- #plist_set_key_val(self._c_node, c_utf8_data)
+ plist_set_key_val(self._c_node, c_utf8_data)
def __repr__(self):
s = self.get_value()