Method

GLibStringprepend_c

Declaration

GString*
g_string_prepend_c (
  GString* string,
  gchar c
)

Description

Adds a byte onto the start of a GString, expanding it if necessary.

Parameters

c

Type: gchar

The byte to prepend on the start of the GString.

Return value

Type: GString

string.

The data is owned by the instance.