copy


Description:

public Builder copy ()

Make a copy of the builder and its state.

The new builder is allocated with [ctorBuilder.new] and should be freed with builder_unref.

Attribute value memory is automatically shared between the two builders, and is only freed when both are gone.

Parameters:

this

the builder to copy

Returns:

the builder copy, which should be freed with builder_unref.