NuMallocHeap

A heap which is a simple abstraction over nuAlloc, nuRealloc and nuFree.

Members

Functions

alloc
void* alloc(size_t bytes)

Allocates memory on the heap.

free
void free(void* allocation)

Frees memory from the heap.

realloc
void* realloc(void* allocation, size_t bytes)

Attempts to reallocate an existing memory allocation on the heap.

Inherited Members

From NuHeap

alloc
void* alloc(size_t bytes)

Allocates memory on the heap.

realloc
void* realloc(void* allocation, size_t bytes)

Attempts to reallocate an existing memory allocation on the heap.

free
void free(void* allocation)

Frees memory from the heap. Note: Only memory owned by the heap may be freed by it.

Meta