| 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 | //------------------------------------------------------------------------- |
no test coverage detected