Commit eab599c1 authored by Nikias Bassen's avatar Nikias Bassen

plist.h: Move deprecation marker before function declaration to make non-gcc/clang compilers happy

parent 73770265
...@@ -361,7 +361,8 @@ extern "C" ...@@ -361,7 +361,8 @@ extern "C"
* @param item the new item to insert * @param item the new item to insert
* @param key The identifier of the item to insert. * @param key The identifier of the item to insert.
*/ */
PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item) PLIST_WARN_DEPRECATED("use plist_dict_set_item instead"); PLIST_WARN_DEPRECATED("use plist_dict_set_item instead")
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. * Remove an existing position in a #PLIST_DICT node.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment