Struct
GLibStringChunk
Instance methods
g_string_chunk_clear
Frees all strings contained within the GStringChunk
.
After calling g_string_chunk_clear()
it is not safe to
access any of the strings which were contained within it.
since: 2.14
g_string_chunk_free
Frees all memory allocated by the GStringChunk
.
After calling g_string_chunk_free()
it is not safe to
access any of the strings which were contained within it.
g_string_chunk_insert
Adds a copy of string
to the GStringChunk
.
It returns a pointer to the new copy of the string
in the GStringChunk
. The characters in the string
can be changed, if necessary, though you should not
change anything after the end of the string.
g_string_chunk_insert_const
Adds a copy of string
to the GStringChunk
, unless the same
string has already been added to the GStringChunk
with g_string_chunk_insert_const().
g_string_chunk_insert_len
Adds a copy of the first len
bytes of string
to the GStringChunk
.
The copy is nul-terminated.
since: 2.4