Function
GLibVariantTypenew_dict_entry
Declaration
GVariantType*
g_variant_type_new_dict_entry (
const GVariantType* key,
const GVariantType* value
)
Description
Constructs the type corresponding to a dictionary entry with a key
of type key
and a value of type value
.
It is appropriate to call g_variant_type_free()
on the return value.
Parameters
key
-
Type:
GVariantType
A basic
GVariantType
.The data is owned by the caller of the function. value
-
Type:
GVariantType
A
GVariantType
.The data is owned by the caller of the function.