Top |
GVariantClass
tp_variant_type_classify (const GVariantType *type
);
Classifies type
according to its top-level type.
Since 0.19.10
GVariant * tp_variant_convert (GVariant *variant
,const GVariantType *type
);
Convert the type of variant
to type
if possible. This takes ownership of
variant
. If no conversion is needed, simply return variant
. If conversion
is not possible, NULL
is returned.
variant |
a GVariant to convert. |
[transfer full] |
type |
a GVariantType |
Since 0.19.10