| 451 | } |
| 452 | |
| 453 | void Internal::FatalError(bf::System::String* error, intptr stackOffset) |
| 454 | { |
| 455 | Beefy::StringView errorStringView = error->ToStringView(); |
| 456 | Beefy::StringSimple errorString = errorStringView; |
| 457 | if (gClientPipeErrorFunc != NULL) |
| 458 | gClientPipeErrorFunc(errorStringView, 0); |
| 459 | if ((stackOffset != -1) && (::IsDebuggerPresent())) |
| 460 | { |
| 461 | SETUP_ERROR(errorString.c_str(), (int)(2 + stackOffset)); |
| 462 | BF_DEBUG_BREAK(); |
| 463 | } |
| 464 | |
| 465 | Internal_FatalError(errorString.c_str()); |
| 466 | } |
| 467 | |
| 468 | void Internal::MemCpy(void* dest, void* src, intptr length) |
| 469 | { |
nothing calls this directly
no test coverage detected