Allocate (or count) space needed for numElems elements of type T with given alignment. This gets called twice for each array, see example for usage.
Allocate (or count) space needed for numElems elements of type T with given alignment. This gets called twice for each array, see example for usage.
Allocate actual storage for the merged allocation. From there, you need to define exactly the same area with alloc and allocArray. This time they will get a proper value.
Start defining the area of allocations.
Allows to merge the allocation of several arrays, which saves allocation count and can speed up things thanks to locality.