P99

◆ P99_TP_STATE_INITIALIZER

#define P99_TP_STATE_INITIALIZER (   TP,
 
)
Value:
P99_MACRO_VAR(p00_tp, (TP)); \
/* ensure that P is assignment compatible to the */ \
/* base type, and that the return can't be used as lvalue */ \
register P99_TP_TYPE(p00_tp)* const p00_p = (P); \
register P99_TP_TYPE_STATE(p00_tp) const p00_r = { \
.p00_st = \
p00_tp \
? p99_tp_state_initializer(&p00_tp->p00_tp, p00_p) \
}; \
p00_r; \
})
p99_extension
#define p99_extension
Mark an expression as using a compiler extension.
Definition: p99_compiler.h:210
P99_TP_TYPE_STATE
#define P99_TP_TYPE_STATE(TP)
p99_tp_state
struct p99_tp_state p99_tp_state
Definition: p99_tp.h:93
P99_INIT
#define P99_INIT
A catch all 0-initializer.
Definition: p99_int.h:1065
P99_TP_TYPE
#define P99_TP_TYPE(TP)