diff options
Diffstat (limited to 'include/plist/plist.h')
| -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" { | |||
| 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 | * |
