Skip to content

gstrvbuilder: Add a new object to make NULL-terminated string arrays.

Robert Ancell requested to merge robert.ancell/glib:strv-builder into master

GLib uses NULL-terminated string arrays (GStrv) in a number of places, however these are quite hard to construct in C when the number of elements is not known in advance. GStrvBuilder wraps GPtrArray to make these easy to create with type safety and does the memory management for you.

Merge request reports

Loading