summaryrefslogtreecommitdiffstats
path: root/cython/plist.pxd
diff options
context:
space:
mode:
authorGravatar Andrew Udvare2014-03-30 23:22:09 -0700
committerGravatar Nikias Bassen2019-07-11 01:30:27 +0700
commit7be52ea1769dd6e4f8e747cce8d5000549c6dab3 (patch)
tree0a5eae18ce2e7caf5a4b349882642ae041eb144f /cython/plist.pxd
parent7d6b42c9e738c97f32023d78313ec390806a9731 (diff)
downloadlibplist-7be52ea1769dd6e4f8e747cce8d5000549c6dab3.tar.gz
libplist-7be52ea1769dd6e4f8e747cce8d5000549c6dab3.tar.bz2
cython: Implement load()/loads() to match up with plistlib (Python 3.4)
Diffstat (limited to 'cython/plist.pxd')
-rw-r--r--cython/plist.pxd3
1 files changed, 3 insertions, 0 deletions
diff --git a/cython/plist.pxd b/cython/plist.pxd
index ee8a65e..99dcca5 100644
--- a/cython/plist.pxd
+++ b/cython/plist.pxd
@@ -69,5 +69,8 @@ cdef class Array(Node):
cpdef object from_xml(xml)
cpdef object from_bin(bytes bin)
+cpdef object load(fp, fmt=*, use_builtin_types=*, dict_type=*)
+cpdef object loads(data, fmt=*, use_builtin_types=*, dict_type=*)
+
cdef object plist_t_to_node(plist_t c_plist, bint managed=*)
cdef plist_t native_to_plist_t(object native)