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

Functions

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

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