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 AtkStateSet
 

Another AtkStateSet.

 The data is owned by the caller of the function.

Return value

Returns: AtkStateSet
 

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

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