Value.typeCompatible

Returns whether a GValue of type src_type can be copied into a GValue of type dest_type.

class Value
static
int
typeCompatible

Parameters

srcType GType

source type to be copied.

destType GType

destination type for copying.

Return Value

Type: int

TRUE if g_value_copy() is possible with src_type and dest_type.

Meta