Function

GObjectstrdup_value_contents

Declaration [src]

gchar*
g_strdup_value_contents (
  const GValue* value
)

Description [src]

Return a newly allocated string, which describes the contents of a GValue. The main purpose of this function is to describe GValue contents for debugging output, the way in which the contents are described may change between different GLib versions.

Parameters

value GValue
 

GValue which contents are to be described.

 The data is owned by the caller of the function.

Return value

Returns: gchar*
 

Newly allocated string.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.