X-macro is questionable.
This commit is contained in:
parent
756ef9e485
commit
822cc4e4ba
|
@ -1,8 +1,8 @@
|
||||||
/** X-macro for a minimal dynamic array: `MIN_ARRAY(name, type)`, where `name`
|
/** Macro for a type-specific minimal dynamic array: `MIN_ARRAY(name, type)`,
|
||||||
is an identifier prefix that satisfies `C` naming conventions when mangled and
|
where `name` is an identifier prefix that satisfies `C` naming conventions
|
||||||
`type` is defined tag-type associated therewith. When expanding the array,
|
when mangled and `type` is defined tag-type associated therewith. When
|
||||||
resizing may be necessary and incurs amortised cost; any pointers to this
|
expanding the array, resizing may be necessary and incurs amortised cost; any
|
||||||
memory may become stale. */
|
pointers to this memory may become stale. */
|
||||||
|
|
||||||
#include <stdlib.h> /* size_t realloc free */
|
#include <stdlib.h> /* size_t realloc free */
|
||||||
#include <string.h> /* memmove strcmp memcpy */
|
#include <string.h> /* memmove strcmp memcpy */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user