ML Reference
|
#include <cstddef>
#include "../mlMemoryManagerDllExport.h"
Go to the source code of this file.
Classes | |
class | MLMemoryAllocator |
The memory allocator used by the memory manager. More... | |
Typedefs | |
typedef void *(* | MLAllocationCallback )(size_t size, void *userData) |
The callback function type for allocating memory of a certain size. | |
typedef void(* | MLDeallocationCallback )(void *data, size_t size, void *userData) |
The callback function type for deallocating memory. |
typedef void*(* MLAllocationCallback)(size_t size, void *userData) |
The callback function type for allocating memory of a certain size.
size | The size of the data that should be allocated |
userData | The pointer to data which might be necessary for the memory allocation |
Definition at line 21 of file mlMemoryAllocator.h.
typedef void(* MLDeallocationCallback)(void *data, size_t size, void *userData) |
The callback function type for deallocating memory.
data | The data that must be deleted |
size | The size of the data that must be deleted |
userData | The pointer to data which might be necessary for deallocating the memory |
Definition at line 27 of file mlMemoryAllocator.h.