Gck.Builder.new

function new(flags: Gck.BuilderFlags): Gck.Builder {
    // Gjs wrapper for gck_builder_new()
}
  

Create a new Gck.Builder not allocated on the stack, so it can be shared across a single scope, and referenced / unreferenced.

Normally a Gck.Builder is created on the stack, and simply initialized.

If the Gck.BuilderFlags.secure_memory flag is specified then non-pageable memory will be used for the various values of the attributes in the builder

flags

flags for the new builder

Returns

a new builder, to be freed with Gck.builder_unref