Move GStrv typedef to glib.h instead of gobject.h

GStrv was historically only needed for the boxed G_TYPE_STRV,
but it is now useful for g_auto(GStrv) as well. This is not
an ABI change.

https://bugzilla.gnome.org/show_bug.cgi?id=755355
This commit is contained in:
Xavier Claessens
2015-09-21 10:41:00 -04:00
parent 32811598f3
commit b81f3ced71
9 changed files with 22 additions and 9 deletions

View File

@@ -2458,6 +2458,13 @@ g_strsplit_set (const gchar *string,
return result;
}
/**
* GStrv:
*
* A typedef alias for gchar**. This is mostly useful when used together with
* g_auto().
*/
/**
* g_strfreev:
* @str_array: a %NULL-terminated array of strings to free