nn::os::GetHeapAddress Function

Syntax

#include <nn/os.h>

uptr GetHeapAddress();

Parameters

None.

Return Values

Returns the starting address of the heap.

Description

Gets the starting address of the heap.

A value greater than zero must be set in advance with SetHeapSize.

It is inappropriate to call this function if nninitStartUp is not being replaced in the application. In an environment where assertions are enabled, processing will be stopped if this function is called without replacing nninitStartUp.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL