Skip to content

Add unref-to-strv to GStrvBuilder

Emmanuele Bassi requested to merge ebassi/strvbuilder-util into main

For those projects that cannot use g_autoptr(), GStrvBuilder's end plus unref is not really convenient.

We can crib the "unref to data type" model from GBytes, and have an additional unref function that also returns the just built GStrv.

Merge request reports