Function Region.makeArray
Allocates a typed array of length elements.
T[] makeArray(T)(
size_t length
) nothrow @nogc;
Modelled after
std, but avoids void[] → T[]
array casts that pull in core (unsupported on wasm32).
Parameters
| Name | Description |
|---|---|
| length | number of elements |
Returns
A T[] slice backed by this region, or null on failure.