atomicIntExchangeAndAdd

This function existed before glib.global.atomicIntAdd returned the prior value of the integer (which it now does). It is retained only for compatibility reasons. Don't use this function in new code.

More...
int
atomicIntExchangeAndAdd
(
ref int atomic
,
int val
)

Parameters

atomic int

a pointer to a #gint

val int

the value to add

Return Value

Type: int

the value of atomic before the add, signed

Detailed Description

Deprecated: Use glib.global.atomicIntAdd instead.