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`
|
||||
is an identifier prefix that satisfies `C` naming conventions when mangled and
|
||||
`type` is defined tag-type associated therewith. When expanding the array,
|
||||
resizing may be necessary and incurs amortised cost; any pointers to this
|
||||
memory may become stale. */
|
||||
/** Macro for a type-specific minimal dynamic array: `MIN_ARRAY(name, type)`,
|
||||
where `name` is an identifier prefix that satisfies `C` naming conventions
|
||||
when mangled and `type` is defined tag-type associated therewith. When
|
||||
expanding the array, resizing may be necessary and incurs amortised cost; any
|
||||
pointers to this memory may become stale. */
|
||||
|
||||
#include <stdlib.h> /* size_t realloc free */
|
||||
#include <string.h> /* memmove strcmp memcpy */
|
||||
|
|
Loading…
Reference in New Issue