diff options
Diffstat (limited to 'include/plist')
-rw-r--r-- | include/plist/plist.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index bfd934f..55ae9e7 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -411,6 +411,14 @@ extern "C" { ********************************************/ /** + * Forces type of node. Changing type of structured nodes is only allowed if node is empty. + * Reset value of node; + * @param node the node + * @param type the key value + */ + PLIST_API void plist_set_type(plist_t node, plist_type type); + +/** * Set the value of a node. * Forces type of node to #PLIST_KEY * |