P99

◆ P99_TP_DECLARE

#define P99_TP_DECLARE (   T)
Value:
typedef union P99_TP(T) P99_TP(T); \
typedef union P99_TP_STATE(T) P99_TP_STATE(T); \
union P99_TP(T) { \
p99_tp p00_tp; \
T p00_dum; /* we only need this for its type */ \
P99_TP_STATE(T)* p00_mud; /* we only need this for its type */ \
max_align_t p00_align; /* ensure maximal alignment */ \
}; \
union P99_TP_STATE(T) { \
p99_tp_state p00_st; \
T p00_dum; /* we only need this for its type */ \
P99_TP(T)* p00_mud; /* we only need this for its type */ \
max_align_t p00_align; /* ensure maximal alignment */ \
}
P99_TP_STATE
#define P99_TP_STATE(T)
P99_TP
#define P99_TP(T)