Commit f53b3f3a authored by Philip Withnall's avatar Philip Withnall
Browse files

garray: Add missing (transfer) and (nullable) return annotations



This commit only looks at the `Returns:` lines in the documentation, and
has examined all of them in the file. Function arguments have not been
checked.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <pwithnall@endlessos.org>

Helps: #2227
parent c311b994
......@@ -1421,8 +1421,8 @@ g_ptr_array_unref (GPtrArray *array)
* threads, use only the atomic g_ptr_array_ref() and g_ptr_array_unref()
* functions.
*
* Returns: the pointer array if @free_seg is %FALSE, otherwise %NULL.
* The pointer array should be freed using g_free().
* Returns: (transfer full) (nullable): the pointer array if @free_seg is
* %FALSE, otherwise %NULL. The pointer array should be freed using g_free().
*/
gpointer*
g_ptr_array_free (GPtrArray *array,
......
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