mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
Merge branch 'wip/antoniof/transfer-full-strv' into 'main'
strfuncs: Add missing ownership annotations for returned string vectors See merge request GNOME/glib!3499
This commit is contained in:
commit
be6c9fc410
@ -2411,8 +2411,8 @@ g_strchomp (gchar *string)
|
|||||||
* to represent empty elements, you'll need to check for the empty string
|
* to represent empty elements, you'll need to check for the empty string
|
||||||
* before calling g_strsplit().
|
* before calling g_strsplit().
|
||||||
*
|
*
|
||||||
* Returns: a newly-allocated %NULL-terminated array of strings. Use
|
* Returns: (transfer full): a newly-allocated %NULL-terminated array of
|
||||||
* g_strfreev() to free it.
|
* strings. Use g_strfreev() to free it.
|
||||||
*/
|
*/
|
||||||
gchar**
|
gchar**
|
||||||
g_strsplit (const gchar *string,
|
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
|
* 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.
|
* to delimit UTF-8 strings for anything but ASCII characters.
|
||||||
*
|
*
|
||||||
* Returns: a newly-allocated %NULL-terminated array of strings. Use
|
* Returns: (transfer full): a newly-allocated %NULL-terminated array of
|
||||||
* g_strfreev() to free it.
|
* strings. Use g_strfreev() to free it.
|
||||||
*
|
*
|
||||||
* Since: 2.4
|
* Since: 2.4
|
||||||
**/
|
**/
|
||||||
|
Loading…
Reference in New Issue
Block a user