TrinityCore
|
Functions | |
static void * | dtAllocDefault (int size, dtAllocHint) |
static void | dtFreeDefault (void *ptr) |
void | dtAllocSetCustom (dtAllocFunc *allocFunc, dtFreeFunc *freeFunc) |
void * | dtAlloc (int size, dtAllocHint hint) |
void | dtFree (void *ptr) |
Variables | |
static dtAllocFunc * | sAllocFunc = dtAllocDefault |
static dtFreeFunc * | sFreeFunc = dtFreeDefault |
void* dtAlloc | ( | int | size, |
dtAllocHint | hint | ||
) |
Allocates a memory block.
[in] | size | The size, in bytes of memory, to allocate. |
[in] | hint | A hint to the allocator on how long the memory is expected to be in use. |
|
static |
void dtAllocSetCustom | ( | dtAllocFunc * | allocFunc, |
dtFreeFunc * | freeFunc | ||
) |
void dtFree | ( | void * | ptr | ) |
|
static |
|
static |
|
static |