mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
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 <pwithnall@endlessos.org> Helps: #2227
This commit is contained in:
parent
c311b9947b
commit
f53b3f3a16
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user