String.sizedNew

Creates a new #GString, with enough space for dfl_size bytes. This is useful if you are going to add a lot of text to the string and don't want it to be reallocated too often.

class String
static
sizedNew
(
size_t dflSize
)

Parameters

dflSize size_t

the default size of the space allocated to hold the string

Return Value

Type: glib.string_.String

the new #GString