The OpenD Programming Language

stdcUninitSlice

Allocates an uninitialized array using core.stdc.stdlib.malloc and creates an n-dimensional slice over it.

Slice!(T*, N)
stdcUninitSlice
(
T
size_t N
)
(
size_t[N] lengths...
)

Parameters

lengths size_t[N]

list of lengths for each dimension

Return Value

Type: Slice!(T*, N)

contiguous uninitialized n-dimensional slice

See Also

Meta