WPADGetWorkMemorySize

C Specification

#include <revolution/wpad.h>

u32 WPADGetWorkMemorySize( void );

Arguments

None.

Return Values

Returns the size of the work memory obtained when the library was initialized.

Description

Gets the size of the work memory obtained when the library was initialized. The total memory size is allocated through the allocator registered through WPADRegisterAllocator. Make sure the registered allocator gets the memory of a size that is larger than that returned by this function. When allocating memory from the heap, remember that the heap header size is not included.

See Also

WPAD Functions
WPADRegisterAllocator

Revision History

2006/09/18 Added notes regarding allocation from the heap.
2006/09/12 Added description of the total memory size.
2006/08/15 Initial version.


CONFIDENTIAL