Method

GLibVariantget_type

since: 2.24

Declaration

const GVariantType*
g_variant_get_type (
  GVariant* value
)

Description

Determines the type of value.

The return value is valid for the lifetime of value and must not be freed.

Available since: 2.24

Return value

Type: GVariantType

A GVariantType.

The data is owned by the instance.