19 #ifndef DETOURALLOCATOR_H 20 #define DETOURALLOCATOR_H void dtAllocSetCustom(dtAllocFunc *allocFunc, dtFreeFunc *freeFunc)
Sets the base custom allocation functions to be used by Detour.
void * dtAlloc(int size, dtAllocHint hint)
Allocates a memory block.
void( dtFreeFunc)(void *ptr)
A memory deallocation function.
void *( dtAllocFunc)(int size, dtAllocHint hint)
A memory allocation function.
Memory persist after a function call.
Memory used temporarily within a function.
dtAllocHint
Provides hint values to the memory allocator on how long the memory is expected to be used...
void dtFree(void *ptr)
Deallocates a memory block.