Recast Navigation
Navigation-mesh Toolset for Games
DetourAssert.cpp File Reference
#include "DetourAssert.h"

Functions

void dtAssertFailSetCustom (dtAssertFailFunc *assertFailFunc)
 Sets the base custom assertion failure function to be used by Detour. More...
 
dtAssertFailFuncdtAssertFailGetCustom ()
 Gets the base custom assertion failure function to be used by Detour. More...
 

Variables

static dtAssertFailFuncsAssertFailFunc = 0
 

Function Documentation

◆ dtAssertFailGetCustom()

dtAssertFailFunc* dtAssertFailGetCustom ( )

Gets the base custom assertion failure function to be used by Detour.

◆ dtAssertFailSetCustom()

void dtAssertFailSetCustom ( dtAssertFailFunc assertFailFunc)

Sets the base custom assertion failure function to be used by Detour.

Parameters
[in]assertFailFuncThe function to be invoked in case of failure of dtAssert

Variable Documentation

◆ sAssertFailFunc

dtAssertFailFunc* sAssertFailFunc = 0
static