Strings
text buffers which grow automatically as text is added
A #GString is similar to a standard C string, except that it grows
automatically as text is appended or inserted. Also, it stores the
length of the string, so can be used for binary data with embedded
nul bytes.
The #GString struct contains the public fields of a #GString.
@str: points to the character data. It may move as text is added.
The str field is nul-terminated and so
can be used as an ordinary C string.
@len: contains the length of the string, not including the
terminating nul byte.
@allocated_len: the number of bytes that can be stored in the
string before it needs to be reallocated. May be larger than @len.
@init:
@Returns:
@init:
@len:
@Returns:
@dfl_size:
@Returns:
@string:
@rval:
@Returns:
@string:
@format:
@args:
@string:
@format:
@args:
@string:
@format:
@Varargs:
@string:
@format:
@Varargs:
@string:
@val:
@Returns:
@string:
@c:
@Returns:
@string:
@wc:
@Returns:
@string:
@val:
@len:
@Returns:
@string:
@unescaped:
@reserved_chars_allowed:
@allow_utf8:
@Returns:
@string:
@val:
@Returns:
@string:
@c:
@Returns:
@string:
@wc:
@Returns:
@string:
@val:
@len:
@Returns:
@string:
@pos:
@val:
@Returns:
@string:
@pos:
@c:
@Returns:
@string:
@pos:
@wc:
@Returns:
@string:
@pos:
@val:
@len:
@Returns:
@string:
@pos:
@val:
@Returns:
@string:
@pos:
@val:
@len:
@Returns:
@string:
@pos:
@len:
@Returns:
@string:
@len:
@Returns:
@string:
@len:
@Returns:
@string:
@free_segment:
@Returns:
@string:
@Returns:
@string:
@Returns:
@str:
@Returns:
@v:
@v2:
@Returns: