nu_malloca

Allocates and initializes a new slice.

T[]
nu_malloca
(
T
)
(
size_t count
)

Parameters

count size_t

The number of elements to allocate.

Return Value

Type: T[]

The allocated array or a zero-length array on error.

Meta