Function
GLibStringnew
Declaration [src]
GString*
g_string_new (
const gchar* init
)
Parameters
init
-
Type:
const gchar*
The initial text to copy into the string, or
NULL
to start with an empty string.The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GString
The new GString
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |