diff options
Diffstat (limited to 'include')
| -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" { | |||
| 262 | * @param item the new item associated to key | 262 | * @param item the new item associated to key |
| 263 | * @param key the identifier of the item to get. Assert if identifier is not present. | 263 | * @param key the identifier of the item to get. Assert if identifier is not present. |
| 264 | */ | 264 | */ |
| 265 | PLIST_API void plist_dict_set_item(plist_t node, plist_t item, const char* key); | 265 | PLIST_API void plist_dict_set_item(plist_t node, const char* key, plist_t item); |
| 266 | 266 | ||
| 267 | /** | 267 | /** |
| 268 | * Insert a new item at position n in a #PLIST_DICT node. | 268 | * Insert a new item at position n in a #PLIST_DICT node. |
| @@ -271,7 +271,7 @@ extern "C" { | |||
| 271 | * @param item the new item to insert | 271 | * @param item the new item to insert |
| 272 | * @param key The identifier of the item to insert. Assert if identifier already present. | 272 | * @param key The identifier of the item to insert. Assert if identifier already present. |
| 273 | */ | 273 | */ |
| 274 | PLIST_API void plist_dict_insert_item(plist_t node, plist_t item, const char* key); | 274 | PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item); |
| 275 | 275 | ||
| 276 | /** | 276 | /** |
| 277 | * Remove an existing position in a #PLIST_DICT node. | 277 | * Remove an existing position in a #PLIST_DICT node. |
| @@ -658,7 +658,6 @@ extern "C" { | |||
| 658 | */ | 658 | */ |
| 659 | PLIST_API void plist_add_sub_date_el(plist_t node, int32_t sec, int32_t usec); | 659 | PLIST_API void plist_add_sub_date_el(plist_t node, int32_t sec, int32_t usec); |
| 660 | 660 | ||
| 661 | |||
| 662 | /*@}*/ | 661 | /*@}*/ |
| 663 | 662 | ||
| 664 | 663 | ||
