Function
GLib Variantnew_bytestring_array
since: 2.26
Declaration [src]
GVariant*
g_variant_new_bytestring_array(
constgchar*const*strv,
gssizelength
)
Description [src]
Constructs an array of bytestring GVariant from the given array of strings.
If length is -1 then strv is NULL-terminated.
Available since: 2.26
Parameters
strv-
Type: An array of
gchar*An array of strings.
The length of the array is specified in thelengthargument.The data is owned by the caller of the function.Each element is a NUL terminated UTF-8 string. length-
Type:
gssizeThe length of
strv, or -1.
Return value
Type: GVariant
A new floating GVariant instance.
The data is owned by the called function.