P99

◆ P99_TP_REF_ACCOUNT

#define P99_TP_REF_ACCOUNT (   TP,
  REF 
)
Value:
P99_MACRO_VAR(p00_tp, (TP)); \
/* ensure that pointer that is returned is converted to the */ \
/* base type, and that the return can't be used as lvalue */ \
register P99_TP_TYPE(p00_tp)* const p00_r = (REF); \
if (p00_r) atomic_fetch_add_explicit(&p00_r->p99_cnt, 1, memory_order_acq_rel); \
p00_r; \
})
p99_extension
#define p99_extension
Mark an expression as using a compiler extension.
Definition: p99_compiler.h:210
P99_TP_TYPE
#define P99_TP_TYPE(TP)