diff options
author | Jonathan Beck | 2009-10-10 19:55:51 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-10 19:55:51 +0200 |
commit | 009274f4dfb7829f2ee98d46afd5e54892806990 (patch) | |
tree | 01b9944d34bf5f640ff278116ea19f22d698fe5d /include/plist/plist.h | |
parent | 77b02c9404dbfef325b7a19228045a817cafe064 (diff) | |
download | libplist-009274f4dfb7829f2ee98d46afd5e54892806990.tar.gz libplist-009274f4dfb7829f2ee98d46afd5e54892806990.tar.bz2 |
Reverse argument for dicts to make it clearer.
Diffstat (limited to 'include/plist/plist.h')
-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); - /*@}*/ |