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.

struct ValueGst
static
bool
intersect

Parameters

dest Value

a uninitialized gobject.Value that will hold the calculated intersection value. May be NULL if the resulting set if not needed.

value1 Value

a value to intersect

value2 Value

another value to intersect

Return Value

Type: bool

TRUE if the intersection is non-empty