From 009274f4dfb7829f2ee98d46afd5e54892806990 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 10 Oct 2009 19:55:51 +0200 Subject: Reverse argument for dicts to make it clearer. --- include/plist/plist.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') 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); - /*@}*/ -- cgit v1.1-32-gdbae