atomicIntExchangeAndAdd
fn
int atomicIntExchangeAndAdd(ref int atomic, int val)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.
Parameters
atomic | a pointer to a #gint |
val | the value to add |
Returns
the value of atomic before the add, signed
Deprecated
Use [glib.global.atomicIntAdd] instead.