mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 20:22:11 +01:00
gstrfuncs: Document the behaviour of g_strjoinv()
The behaviour of g_strjoinv() isn't explicitely explained when the array contains less than 2 items. This removes the guesswork. https://bugzilla.gnome.org/show_bug.cgi?id=764092
This commit is contained in:
parent
f45ec47be1
commit
283c565af6
@ -2539,6 +2539,10 @@ g_strdupv (gchar **str_array)
|
||||
* optional @separator inserted between each of them. The returned string
|
||||
* should be freed with g_free().
|
||||
*
|
||||
* If @str_array has no items, the return value will be an
|
||||
* empty string. If @str_array contains a single item, @separator will not
|
||||
* appear in the resulting string.
|
||||
*
|
||||
* Returns: a newly-allocated string containing all of the strings joined
|
||||
* together, with @separator between them
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user