Method

GLibStringprepend

Declaration

GString*
g_string_prepend (
  GString* string,
  const gchar* val
)

Description

Adds a string on to the start of a GString, expanding it if necessary.

Parameters

val const gchar*
 

The string to prepend on the start of string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: GString
 

string.

 The data is owned by the instance.