MCPcopy Create free account
hub / github.com/beefytech/Beef / BfpSystem_FatalError

Function BfpSystem_FatalError

BeefySysLib/platform/win/Platform.cpp:1129–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127}
1128
1129BFP_EXPORT void BFP_CALLTYPE BfpSystem_FatalError(const char* error, const char* title)
1130{
1131 if (title != NULL)
1132 {
1133 int errorLen = (int)strlen(error);
1134 int titleLen = (int)strlen(title);
1135 char* str = new char[errorLen + 1 + titleLen + 1];
1136 strcpy(str, title);
1137 strcat(str, "\n");
1138 strcat(str, error);
1139 gCrashErrorFunc(str);
1140 }
1141 else
1142 gCrashErrorFunc(error);
1143}
1144
1145BFP_EXPORT void BFP_CALLTYPE BfpSystem_GetCommandLine(char* outStr, int* inOutStrSize, BfpSystemResult* outResult)
1146{

Callers 10

BFFatalErrorMethod · 0.70
HandleInvalidParameterFunction · 0.70
AbortHandlerFunction · 0.70
BfpSystem_InitFunction · 0.70
FatalErrorMethod · 0.50
FailMethod · 0.50
Internal_FatalErrorFunction · 0.50
InitMethod · 0.50
Dbg_InitMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected