mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
Add annotations for g_variant_new_strv and g_variant_get_strv
This commit is contained in:
parent
58f1977151
commit
44cf10adce
@ -1165,7 +1165,7 @@ g_variant_dup_string (GVariant *value,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_variant_new_strv:
|
* g_variant_new_strv:
|
||||||
* @strv: (array length=length): an array of strings
|
* @strv: (array length=length) (element-type utf8): an array of strings
|
||||||
* @length: the length of @strv, or -1
|
* @length: the length of @strv, or -1
|
||||||
* @returns: a new floating #GVariant instance
|
* @returns: a new floating #GVariant instance
|
||||||
*
|
*
|
||||||
@ -1200,7 +1200,8 @@ g_variant_new_strv (const gchar * const *strv,
|
|||||||
* g_variant_get_strv:
|
* g_variant_get_strv:
|
||||||
* @value: an array of strings #GVariant
|
* @value: an array of strings #GVariant
|
||||||
* @length: (allow-none): the length of the result, or %NULL
|
* @length: (allow-none): the length of the result, or %NULL
|
||||||
* @returns: (array length=length): an array of constant strings
|
* @returns: (array length=length) (transfer container): an array of constant
|
||||||
|
* strings
|
||||||
*
|
*
|
||||||
* Gets the contents of an array of strings #GVariant. This call
|
* Gets the contents of an array of strings #GVariant. This call
|
||||||
* makes a shallow copy; the return result should be released with
|
* makes a shallow copy; the return result should be released with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user