CS::Memory::AllocatorMallocPlatform Class Reference
Memory allocator using the platform's default allocation functions (malloc, free etc. More...
#include <csutil/allocator.h>
Public Member Functions | |
void * | Alloc (const size_t n) |
Allocate a block of memory of size n . | |
void | Free (void *p) |
Free the block p . | |
void * | Realloc (void *p, size_t newSize) |
Resize the allocated block p to size newSize . | |
void | SetMemTrackerInfo (const char *info) |
Set the information used for memory tracking. |
Detailed Description
Memory allocator using the platform's default allocation functions (malloc, free etc.)
Definition at line 484 of file allocator.h.
Member Function Documentation
void* CS::Memory::AllocatorMallocPlatform::Alloc | ( | const size_t | n | ) | [inline] |
void CS::Memory::AllocatorMallocPlatform::Free | ( | void * | p | ) | [inline] |
void* CS::Memory::AllocatorMallocPlatform::Realloc | ( | void * | p, | |
size_t | newSize | |||
) | [inline] |
void CS::Memory::AllocatorMallocPlatform::SetMemTrackerInfo | ( | const char * | info | ) | [inline] |
The documentation for this class was generated from the following file:
- csutil/allocator.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8