StrvBuilder
class StrvBuilder(pointer: <Error class: unknown class><<Error class: unknown class>>) : ProxyInstance
GStrvBuilder
is a helper object to build a null-terminated string arrays.
The following example shows how to build a two element array:
g_autoptr(GStrvBuilder) builder = g_strv_builder_new ();
g_strv_builder_add (builder, "hello");
g_strv_builder_add (builder, "world");
g_auto(GStrv) array = g_strv_builder_end (builder);
g_assert_true (g_strv_equal (array, (const char *[]) { "hello", "world", NULL }));
Content copied to clipboard
Skipped during bindings generation
method
add_many
: Varargs parameter is not supported
Since
2.68