summaryrefslogtreecommitdiffstats
path: root/include/plist
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-11 14:00:31 +0200
committerGravatar Jonathan Beck2009-10-11 14:00:31 +0200
commit583bb249458fcca6cdf2581896681e618cf4547e (patch)
treeb46b47170728b3b063cc2620c7ed7b7f987e0ad7 /include/plist
parent120b7348e7b9d4c92e463590de5a4de4e6bc1228 (diff)
downloadlibplist-583bb249458fcca6cdf2581896681e618cf4547e.tar.gz
libplist-583bb249458fcca6cdf2581896681e618cf4547e.tar.bz2
Add function to change a node's type.
Diffstat (limited to 'include/plist')
-rw-r--r--include/plist/plist.h8
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" {
411 ********************************************/ 411 ********************************************/
412 412
413/** 413/**
414 * Forces type of node. Changing type of structured nodes is only allowed if node is empty.
415 * Reset value of node;
416 * @param node the node
417 * @param type the key value
418 */
419 PLIST_API void plist_set_type(plist_t node, plist_type type);
420
421/**
414 * Set the value of a node. 422 * Set the value of a node.
415 * Forces type of node to #PLIST_KEY 423 * Forces type of node to #PLIST_KEY
416 * 424 *