diff options
author | Nikias Bassen | 2023-04-19 17:52:23 +0200 |
---|---|---|
committer | Nikias Bassen | 2023-04-19 17:52:23 +0200 |
commit | 3fdb11126928717007127688f55a5fffa8a59ac9 (patch) | |
tree | fa49826cb51d7c4376178f1f06cbcef62991763d | |
parent | ce9ce43efd707a85cc792ff2cc417603a53d4d1d (diff) | |
download | libplist-3fdb11126928717007127688f55a5fffa8a59ac9.tar.gz libplist-3fdb11126928717007127688f55a5fffa8a59ac9.tar.bz2 |
Remove deprecated plist_dict_insert_item()
-rw-r--r-- | include/plist/plist.h | 12 | ||||
-rw-r--r-- | src/plist.c | 5 |
2 files changed, 0 insertions, 17 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index 9b16c58..e3e228f 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -462,18 +462,6 @@ extern "C" void plist_dict_set_item(plist_t node, const char* key, plist_t item); /** - * Insert a new item into a #PLIST_DICT node. - * - * @deprecated Deprecated. Use plist_dict_set_item instead. - * - * @param node the node of type #PLIST_DICT - * @param item the new item to insert - * @param key The identifier of the item to insert. - */ - PLIST_WARN_DEPRECATED("use plist_dict_set_item instead") - void plist_dict_insert_item(plist_t node, const char* key, plist_t item); - - /** * Remove an existing position in a #PLIST_DICT node. * Removed position will be freed using #plist_free * diff --git a/src/plist.c b/src/plist.c index 48b012b..e58e83a 100644 --- a/src/plist.c +++ b/src/plist.c @@ -887,11 +887,6 @@ PLIST_API void plist_dict_set_item(plist_t node, const char* key, plist_t item) } } -PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item) -{ - plist_dict_set_item(node, key, item); -} - PLIST_API void plist_dict_remove_item(plist_t node, const char* key) { if (node && PLIST_DICT == plist_get_node_type(node)) |