#include <cstddef>
#include "../mlMemoryManagerDllExport.h"
Go to the source code of this file.
|
typedef void *(* | MLAllocationCallback) (size_t size) |
| The callback function type for allocating memory of a certain size.
|
|
typedef void(* | MLDeallocationCallback) (void *data) |
| The callback function type for deallocating memory.
|
|
◆ MLAllocationCallback
typedef void *(* MLAllocationCallback) (size_t size) |
The callback function type for allocating memory of a certain size.
- Parameters
-
size | The size of the data that should be allocated |
Definition at line 22 of file mlMemoryAllocator.h.
◆ MLDeallocationCallback
typedef void(* MLDeallocationCallback) (void *data) |
The callback function type for deallocating memory.
- Parameters
-
data | The data that must be deleted |
Definition at line 26 of file mlMemoryAllocator.h.