Recast Navigation
Navigation-mesh Toolset for Games
|
Functions | |
static void * | dtAllocDefault (size_t size, dtAllocHint) |
static void | dtFreeDefault (void *ptr) |
void | dtAllocSetCustom (dtAllocFunc *allocFunc, dtFreeFunc *freeFunc) |
Sets the base custom allocation functions to be used by Detour. More... | |
void * | dtAlloc (size_t size, dtAllocHint hint) |
Allocates a memory block. More... | |
void | dtFree (void *ptr) |
Deallocates a memory block. More... | |
Variables | |
static dtAllocFunc * | sAllocFunc = dtAllocDefault |
static dtFreeFunc * | sFreeFunc = dtFreeDefault |
void* dtAlloc | ( | size_t | 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 |