GLib.VariantBuilder.prototype.ref

function ref(): GLib.VariantBuilder {
    // Gjs wrapper for g_variant_builder_ref()
}
  

Increases the reference count on builder.

Don't call this on stack-allocated GLib.VariantBuilder instances or bad things will happen.

Since 2.24

Returns

a new reference to builder