nn::os::SetupHeapForMemoryBlock Function#include <nn/os.h>
void SetupHeapForMemoryBlock(
size_t heapSize
);
| Name | Description | |
|---|---|---|
| heapSize |
This function sets up the OS to emulate the same memory environment that was used in CTR-SDK 0.9 and prior versions.
Calling this function sets up a memory environment with the following characteristics: MemoryBlock class can be used. MemoryBlock is created from the heap and initiliazed so malloc (in C) and new (in C++) can allocate memory.
CONFIDENTIAL