P99

◆ p99_count_inc

#define p99_count_inc (   p99_count volatile *p00_c,
  unsignedp00_hm 
)    P99_CALL_DEFARG(p99_count_inc, 2, __VA_ARGS__)
related

increment the counter counter atomically by p00_hm.

Returns
the value of the counter before the increment.
Remarks
p00_hm defaults to 1 if omitted.
p99_count_inc is actually implemented as a macro that helps to provide default arguments to the real function.
See also
P99_CALL_DEFARG
P99_DECLARE_DEFARG

Definition at line 85 of file p99_count.h.