logog
logger optimized for games
|
#include <api.hpp>
Public Attributes | |
void *(* | m_pfMalloc )(size_t) |
void(* | m_pfFree )(void *) |
To initialize the memory manager with non-default values, allocate a temporary INIT_PARAMS structure, fill it with zeros, and then change the individual entries in the INIT_PARAMS struct before passing as a parameter to Initialize().
void( * m_pfFree) (void *) |
A pointer to a function that frees memory. By default logog frees using free(). Change this pointer before passing to Initialize() to use your own custom memory allocator.
void*( * m_pfMalloc) (size_t) |
A pointer to a function that allocates memory. By default logog allocates using malloc(). Change this pointer before passing to Initialize() to use your own custom memory allocator.