logog
logger optimized for games
INIT_PARAMS Struct Reference

[INIT_PARAMS] More...

#include <api.hpp>

Public Attributes

void *(* m_pfMalloc )(size_t)
 
void(* m_pfFree )(void *)
 

Detailed Description

[INIT_PARAMS]

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().

See also
Initialize

Member Data Documentation

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.

See also
logog::Initialize()
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.

See also
logog::Initialize()

The documentation for this struct was generated from the following file: