Commit 135164ae authored by Nikias Bassen's avatar Nikias Bassen

Move deprecation marker after the function declaration for better compiler output

parent a9ec8fa5
...@@ -361,7 +361,7 @@ extern "C" ...@@ -361,7 +361,7 @@ 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_WARN_DEPRECATED("use plist_dict_set_item instead") PLIST_API void plist_dict_insert_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_WARN_DEPRECATED("use plist_dict_set_item instead");
/** /**
* 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