P99

◆ P99_DERIVED_TYPES

#define P99_DERIVED_TYPES (   T)
Value:
P99_PLAIN_TYPE(P99_PASTE2(T, _cptr)); \
P99_PLAIN_TYPE(P99_PASTE2(T, _ptr))

Declare trivial init and destroy functions for type T and its pointer derivatives.

Remarks
argument 0 should correspond to a type name (one token) that is not a VLA.

Definition at line 160 of file p99_type.h.

P99_PASTE2
#define P99_PASTE2(_1, _2)
Paste two token sequences at their junction.
Definition: p99_paste.h:82
P99_PLAIN_TYPE
#define P99_PLAIN_TYPE(T)
Declare trivial init and destroy functions for type T.
Definition: p99_type.h:142