10 #include "LibMacros.hpp"
14 LibDmem(
void* buffer,
size_t size);
17 void* alloc(
size_t size);
19 void* resize(
void* p,
size_t size);
20 void* resizeLeft(
void* p,
size_t left);
21 size_t getTotalMemory();
22 size_t getFreeMemory();
23 unsigned int getBlockCount();
25 typedef struct tagSEGMENT {
32 static const int SIZE_OF_CTRL = 12;
37 unsigned int mBlockCount;