diff options
author | Andrew Udvare | 2014-04-02 20:37:40 -0700 |
---|---|---|
committer | Nikias Bassen | 2019-07-11 01:31:00 +0700 |
commit | 121c834561b1b3f06259d32681cab0cff1a1a8ae (patch) | |
tree | 0d62cf3e48873f3c0faf84f5a8f8759d3bf42451 /cython/plist.pxd | |
parent | 7be52ea1769dd6e4f8e747cce8d5000549c6dab3 (diff) | |
download | libplist-121c834561b1b3f06259d32681cab0cff1a1a8ae.tar.gz libplist-121c834561b1b3f06259d32681cab0cff1a1a8ae.tar.bz2 |
cython: Implement dump()/dumps() to match up with plistlib (Python 3.4)
Diffstat (limited to 'cython/plist.pxd')
-rw-r--r-- | cython/plist.pxd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cython/plist.pxd b/cython/plist.pxd index 99dcca5..b11d80d 100644 --- a/cython/plist.pxd +++ b/cython/plist.pxd @@ -71,6 +71,8 @@ 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=*) +cpdef object dump(value, fp, fmt=*, sort_keys=*, skipkeys=*) +cpdef object dumps(value, fmt=*, sort_keys=*, skipkeys=*) cdef object plist_t_to_node(plist_t c_plist, bint managed=*) cdef plist_t native_to_plist_t(object native) |