Method

AtkStateSetxor_sets

Declaration [src]

AtkStateSet*
atk_state_set_xor_sets (
  AtkStateSet* set,
  AtkStateSet* compare_set
)

Description [src]

Constructs the exclusive-or of the two sets, returning NULL is empty. The set returned by this operation contains the states in exactly one 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 contains the states which are in exactly one of the two sets.

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