diff options
Diffstat (limited to 'include/plist')
-rw-r--r-- | include/plist/plist.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index f8c5c53..beb467a 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -262,7 +262,7 @@ extern "C" { * @param item the new item associated to key * @param key the identifier of the item to get. Assert if identifier is not present. */ - PLIST_API void plist_dict_set_item(plist_t node, plist_t item, const char* key); + PLIST_API void plist_dict_set_item(plist_t node, const char* key, plist_t item); /** * Insert a new item at position n in a #PLIST_DICT node. @@ -271,7 +271,7 @@ extern "C" { * @param item the new item to insert * @param key The identifier of the item to insert. Assert if identifier already present. */ - PLIST_API void plist_dict_insert_item(plist_t node, plist_t item, const char* key); + PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item); /** * Remove an existing position in a #PLIST_DICT node. @@ -658,7 +658,6 @@ extern "C" { */ PLIST_API void plist_add_sub_date_el(plist_t node, int32_t sec, int32_t usec); - /*@}*/ |