strfuncs: Add missing ownership annotations for returned string vectors

This commit is contained in:
António Fernandes 2023-07-17 10:32:56 +00:00 committed by Philip Withnall
parent 741a561c4d
commit 28dd5f017d

View File

@ -2411,8 +2411,8 @@ g_strchomp (gchar *string)
* to represent empty elements, you'll need to check for the empty string
* before calling g_strsplit().
*
* Returns: a newly-allocated %NULL-terminated array of strings. Use
* g_strfreev() to free it.
* Returns: (transfer full): a newly-allocated %NULL-terminated array of
* strings. Use g_strfreev() to free it.
*/
gchar**
g_strsplit (const gchar *string,
@ -2492,8 +2492,8 @@ g_strsplit (const gchar *string,
* Note that this function works on bytes not characters, so it can't be used
* to delimit UTF-8 strings for anything but ASCII characters.
*
* Returns: a newly-allocated %NULL-terminated array of strings. Use
* g_strfreev() to free it.
* Returns: (transfer full): a newly-allocated %NULL-terminated array of
* strings. Use g_strfreev() to free it.
*
* Since: 2.4
**/