Pyrogenesis  trunk
Functions
wdbg_heap.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void wdbg_heap_Enable (bool)
 enable or disable manual and automatic heap validity checking. More...
 
void wdbg_heap_Validate ()
 check heap integrity. More...
 
intptr_t wdbg_heap_NumberOfAllocations ()
 

Function Documentation

◆ wdbg_heap_Enable()

void wdbg_heap_Enable ( bool  )

enable or disable manual and automatic heap validity checking.

(enabled by default during critical_init.)

◆ wdbg_heap_NumberOfAllocations()

intptr_t wdbg_heap_NumberOfAllocations ( )
Returns
the total number of alloc and realloc operations thus far. used by the in-game profiler.

◆ wdbg_heap_Validate()

void wdbg_heap_Validate ( )

check heap integrity.

errors are reported by the CRT or via debug_DisplayError. no effect if called between wdbg_heap_Enable(false) and the next wdbg_heap_Enable(true).