Kaim::StraightMemoryHeapMalloc Class Reference
#include <straightmalloc.h>
multi-platform abstraction of malloc/free/realloc Note that this is used only by the generation through MemoryHeap and MemoryHeap::Realloc doesn't maintain alignment!
|
static void * | Alloc (UPInt size) |
|
static void * | Alloc (UPInt size, UPInt align) |
|
static void * | Realloc (void *oldPtr, UPInt newSize) |
|
static void* Kaim::StraightMemoryHeapMalloc::Alloc |
( |
UPInt |
size | ) |
|
|
static |
static void* Kaim::StraightMemoryHeapMalloc::Alloc |
( |
UPInt |
size, |
|
|
UPInt |
align |
|
) |
| |
|
static |
Alloc with alignment NOTE that Realloc should not be used with memory allocated with this function, otherwise the reallocated memory could be not properly aligned.
static void* Kaim::StraightMemoryHeapMalloc::Realloc |
( |
void * |
oldPtr, |
|
|
UPInt |
newSize |
|
) |
| |
|
static |
Realloc without alignment.
The documentation for this class was generated from the following file: