Allocates raw memory using the std C malloc and free. More...
#include <StdCMallocHeap.h>
Static Public Member Functions | |
| static void * | Alloc (StdCAlloc *, size_t size, size_t alignment, const char *=0, AllocFlags=AFAllocLow) |
| static size_t | Size (StdCAlloc *, void *ptr) |
Allocates raw memory using the std C malloc and free.
Note that the free/used -block tracking is left at the burden of the stdlib implementation, so don't rely on this allocator in performance critical sections.
| static void* kNet::StdCAlloc::Alloc | ( | StdCAlloc * | , | |
| size_t | size, | |||
| size_t | alignment, | |||
| const char * | = 0, |
|||
| AllocFlags | = AFAllocLow | |||
| ) | [inline, static] |
| static size_t kNet::StdCAlloc::Size | ( | StdCAlloc * | , | |
| void * | ptr | |||
| ) | [inline, static] |
1.7.1