Function
GLibVariantTypenew_maybe
since: 2.24
Description
Constructs the type corresponding to a maybe instance containing
type type
or Nothing.
It is appropriate to call g_variant_type_free()
on the return value.
Available since: 2.24
Parameters
element
-
Type:
GVariantType
A
GVariantType
.The data is owned by the caller of the function.