29#include "tdelibs_export.h"
31class KVMAllocatorPrivate;
59 Block *allocate(
size_t _size);
65 void free(Block *block);
77 bool copyBlock(
void *dest, Block *src,
int _offset = 0,
size_t length = 0);
83 void copy(
void *dest, Block *src,
int _offset = 0,
size_t length = 0) TDE_DEPRECATED;
95 bool copyBlock(Block *dest,
void *src,
int _offset = 0,
size_t length = 0);
101 void copy(Block *dest,
void *src,
int _offset = 0,
size_t length = 0) TDE_DEPRECATED;
107 void *map(Block *block);
113 void unmap(Block *block);
116 KVMAllocatorPrivate *d;
KVMAllocator is a virtual memory allocator.