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

Function scriptErrorHandler

Engine/source/console/compiler.cpp:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 void consoleAllocReset() { gConsoleAllocator.freeBlocks(); }
140
141 void scriptErrorHandler(const char* str)
142 {
143 if (Con::scriptWarningsAsAsserts)
144 {
145 AssertISV(false, str);
146 }
147 else
148 {
149 Con::warnf(ConsoleLogEntry::Type::Script, "%s", str);
150 }
151 }
152}
153
154//-------------------------------------------------------------------------

Callers 4

assignMethod · 0.85
lookupMethod · 0.85
lookupTypeMethod · 0.85
getFuncVarsFunction · 0.85

Calls 1

warnfFunction · 0.70

Tested by

no test coverage detected