MeVisLab Toolbox Reference
mlMemoryAllocator.h File 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)
 The callback function type for allocating memory of a certain size.
 
typedef void(* MLDeallocationCallback) (void *data)
 The callback function type for deallocating memory.
 

Typedef Documentation

◆ MLAllocationCallback

typedef void *(* MLAllocationCallback) (size_t size)

The callback function type for allocating memory of a certain size.

Parameters
sizeThe 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
dataThe data that must be deleted

Definition at line 26 of file mlMemoryAllocator.h.