Method

GLibVariantTypepeek_string

Declaration [src]

const gchar*
g_variant_type_peek_string (
  const GVariantType* type
)

Description [src]

Returns the type string corresponding to the given type. The result is not nul-terminated; in order to determine its length you must call g_variant_type_get_string_length().

To get a nul-terminated string, see g_variant_type_dup_string().

This method is not directly available to language bindings.

Return value

Type: const gchar*

The corresponding type string (not nul-terminated)

Since 2.24.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.