Win360::Win360Heap Class Reference
#include <win360heap.h>
Detailed Description
Win32/Xbox360 implementation of the class Memory::Heap. Under Win32, the LowFragmentationHeap feature is generally turned on.(C) 2006 Radon Labs GmbH
Public Member Functions | |
Win360Heap (const char *name, size_t initialSize=0, size_t maxSize=0) | |
constructor (name must be static string!) | |
~Win360Heap () | |
destructor | |
const char * | GetName () const |
get heap name | |
void * | Alloc (size_t size) |
allocate a block of memory from the heap | |
void * | Realloc (void *ptr, size_t newSize) |
re-allocate a block of memory | |
void | Free (void *ptr) |
free a block of memory which has been allocated from this heap | |
Static Public Member Functions | |
static void | Setup () |
static setup method (called by Core::SysFunc::Setup) |
Member Function Documentation
void Win360::Win360Heap::Setup | ( | ) | [static] |
static setup method (called by Core::SysFunc::Setup)
This method must be called at the beginning of the application before any threads are spawned.