ValueGst.intersect

Calculates the intersection of two values. If the values have a non-empty intersection, the value representing the intersection is placed in dest, unless NULL. If the intersection is non-empty, dest is not modified.

class ValueGst
static
int
intersect

Parameters

dest Value

a uninitialized GValue that will hold the calculated intersection value. May be NULL if the resulting set if not needed. [out caller-allocates][transfer full]

value1 Value

a value to intersect

value2 Value

another value to intersect

Return Value

Type: int

TRUE if the intersection is non-empty

Meta