Function
GLibVariantTypenew_dict_entry
since: 2.24
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.
Available since: 2.24
Parameters
key-
Type:
GVariantTypeA basic
GVariantType.The data is owned by the caller of the function. value-
Type:
GVariantTypeA
GVariantType.The data is owned by the caller of the function.