MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / checkGuard

Method checkGuard

Engine/source/ts/tsShapeAlloc.cpp:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209IMPLEMENT_ALLOC(8,S8)
210
211void TSShapeAlloc::checkGuard()
212{
213 bool check32 = checkGuard32();
214 bool check16 = checkGuard16();
215 bool check8 = checkGuard8();
216 AssertFatal(check32,avar("TSShapeAlloc::checkGuard32: found %i, wanted %i",getSaveGuard32(),getPrevGuard32()));
217 AssertFatal(check16,avar("TSShapeAlloc::checkGuard16: found %i, wanted %i",getSaveGuard16(),getPrevGuard16()));
218 AssertFatal(check8 ,avar("TSShapeAlloc::checkGuard8: found %i, wanted %i",getSaveGuard8() ,getPrevGuard8()));
219}
220
221void TSShapeAlloc::setGuard()
222{

Callers 4

assembleShapeMethod · 0.80
assembleMethod · 0.80
assembleMethod · 0.80
assembleMethod · 0.80

Calls 1

avarFunction · 0.85

Tested by

no test coverage detected