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.
Definition: DetourAlloc.cpp:35
void( dtFreeFunc)(void *ptr)
A memory deallocation function.
Definition: DetourAlloc.h:40
void * dtAlloc(size_t size, dtAllocHint hint)
Allocates a memory block.
Definition: DetourAlloc.cpp:41
Memory persist after a function call.
Definition: DetourAlloc.h:26
void *( dtAllocFunc)(size_t size, dtAllocHint hint)
A memory allocation function.
Definition: DetourAlloc.h:35
Memory used temporarily within a function.
Definition: DetourAlloc.h:27
dtAllocHint
Provides hint values to the memory allocator on how long the memory is expected to be used...
Definition: DetourAlloc.h:24
void dtFree(void *ptr)
Deallocates a memory block.
Definition: DetourAlloc.cpp:46