summaryrefslogtreecommitdiffstats
path: root/cython/plist.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'cython/plist.pxd')
-rw-r--r--cython/plist.pxd9
1 files changed, 5 insertions, 4 deletions
diff --git a/cython/plist.pxd b/cython/plist.pxd
index daafd78..6a96817 100644
--- a/cython/plist.pxd
+++ b/cython/plist.pxd
@@ -1,25 +1,26 @@
1cdef extern from "plist/plist.h": 1cdef extern from "plist/plist.h":
2 ctypedef void *plist_t 2 ctypedef void *plist_t
3 ctypedef void *plist_dict_iter 3 ctypedef void *plist_dict_iter
4 void plist_free(plist_t node)
4 5
5cdef class Node: 6cdef class Node:
6 cdef plist_t _c_node 7 cdef plist_t _c_node
7 cdef bool _c_managed 8 cdef bool _c_managed
8 cpdef object __deepcopy__(self, memo=*) 9 cpdef object __deepcopy__(self, memo=*)
9 cpdef bytes to_xml(self) 10 cpdef unicode to_xml(self)
10 cpdef bytes to_bin(self) 11 cpdef bytes to_bin(self)
11 cpdef object copy(self) 12 cpdef object copy(self)
12 13
13cdef class Bool(Node): 14cdef class Bool(Node):
14 cpdef set_value(self, value) 15 cpdef set_value(self, object value)
15 cpdef bool get_value(self) 16 cpdef bool get_value(self)
16 17
17cdef class Integer(Node): 18cdef class Integer(Node):
18 cpdef set_value(self, value) 19 cpdef set_value(self, object value)
19 cpdef int get_value(self) 20 cpdef int get_value(self)
20 21
21cdef class Real(Node): 22cdef class Real(Node):
22 cpdef set_value(self, value) 23 cpdef set_value(self, object value)
23 cpdef float get_value(self) 24 cpdef float get_value(self)
24 25
25cdef class String(Node): 26cdef class String(Node):