P99

◆ P99_STRUCT_LITERAL

#define P99_STRUCT_LITERAL (   TYPE,
  ... 
)    (TYPE){ P99_SEQ(P00_LITERAL, __VA_ARGS__) }

Copy local variables back to the fields of same name inside a compound literal of type TYPE.

See also
P99_DEFINE_STRUCT
Remarks
argument 0 must be an identifier
argument 1 must be an identifier
argument 2 must be an identifier
argument 3 must be an identifier

Definition at line 1138 of file p99_for.h.