Method

AtkStateSetand_sets

Declaration [src]

AtkStateSet*
atk_state_set_and_sets (
  AtkStateSet* set,
  AtkStateSet* compare_set
)

Description [src]

Constructs the intersection of the two sets, returning NULL if the intersection is empty.

Parameters

compare_set

Type: AtkStateSet

Another AtkStateSet.

The data is owned by the caller of the method.

Return value

Type: AtkStateSet

A new AtkStateSet which is the intersection of the two sets.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.