| 1127 | } |
| 1128 | |
| 1129 | BFP_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 | |
| 1145 | BFP_EXPORT void BFP_CALLTYPE BfpSystem_GetCommandLine(char* outStr, int* inOutStrSize, BfpSystemResult* outResult) |
| 1146 | { |
no outgoing calls
no test coverage detected