NuMallocHeap.alloc

Allocates memory on the heap.

class NuMallocHeap
@nogc override
void*
alloc
(
size_t bytes
)

Parameters

bytes size_t

The amount of bytes to allocate from the heap.

Return Value

Type: void*

A pointer to the memory allocated on the heap. null if operation failed.

Meta