Method

AtkStateSetor_sets

Declaration [src]

AtkStateSet*
atk_state_set_or_sets (
  AtkStateSet* set,
  AtkStateSet* compare_set
)

Description [src]

Constructs the union of the two sets.

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 union of the two sets, returning NULL is empty.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.