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

Go to the source code of this file.

Macros

#define wdbg_assert(expr)   STMT(if(!(expr)) debug_break();)
 similar to ENSURE but safe to use during critical init or while under the heap or dbghelp locks. More...
 

Functions

LIB_API void wdbg_printf (const wchar_t *fmt,...)
 same as debug_printf except that some type conversions aren't supported (in particular, no floating point) and output is limited to 1024+1 characters. More...
 

Macro Definition Documentation

#define wdbg_assert (   expr)    STMT(if(!(expr)) debug_break();)

similar to ENSURE but safe to use during critical init or while under the heap or dbghelp locks.

Function Documentation

LIB_API void wdbg_printf ( const wchar_t fmt,
  ... 
)

same as debug_printf except that some type conversions aren't supported (in particular, no floating point) and output is limited to 1024+1 characters.

this function does not allocate memory from the CRT heap, which makes it safe to use from an allocation hook.