P99

◆ P99_FMALLOC

#define P99_FMALLOC (   T,
  F,
 
)    malloc(P99_FSIZEOF(T, F, N))

Allocate an instance of struct T that is able to hold N items in flexible struct member F.

No initialization of the instance is performed.

Warning
argument 2 may be evaluated multiple times
Remarks
argument 0 should correspond to a type that is not a VLA.
argument 1 maybe evaluated several times for its type but only once for its value

Definition at line 486 of file p99_new.h.