TrinityCore
|
Functions | |
static void * | rcAllocDefault (int size, rcAllocHint) |
static void | rcFreeDefault (void *ptr) |
void | rcAllocSetCustom (rcAllocFunc *allocFunc, rcFreeFunc *freeFunc) |
void * | rcAlloc (int size, rcAllocHint hint) |
void | rcFree (void *ptr) |
Variables | |
static rcAllocFunc * | sRecastAllocFunc = rcAllocDefault |
static rcFreeFunc * | sRecastFreeFunc = rcFreeDefault |
void* rcAlloc | ( | int | size, |
rcAllocHint | hint | ||
) |
|
static |
void rcAllocSetCustom | ( | rcAllocFunc * | allocFunc, |
rcFreeFunc * | freeFunc | ||
) |
void rcFree | ( | void * | ptr | ) |
ptr
unchanged. So it still points to the same (now invalid) location, and not to null.
|
static |
|
static |
|
static |