summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-10 19:55:51 +0200
committerGravatar Jonathan Beck2009-10-10 19:55:51 +0200
commit009274f4dfb7829f2ee98d46afd5e54892806990 (patch)
tree01b9944d34bf5f640ff278116ea19f22d698fe5d /include
parent77b02c9404dbfef325b7a19228045a817cafe064 (diff)
downloadlibplist-009274f4dfb7829f2ee98d46afd5e54892806990.tar.gz
libplist-009274f4dfb7829f2ee98d46afd5e54892806990.tar.bz2
Reverse argument for dicts to make it clearer.
Diffstat (limited to 'include')
-rw-r--r--include/plist/plist.h5
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);
-
/*@}*/