| 627 | } |
| 628 | |
| 629 | BFP_EXPORT void BFP_CALLTYPE BfpSystem_AddCrashInfoFunc(BfpCrashInfoFunc crashInfoFunc) |
| 630 | { |
| 631 | AutoCrit autoCrit(BfpGetGlobalData()->mSysCritSect); |
| 632 | BfpGetGlobalData()->mCrashInfoFuncs.Add(crashInfoFunc); |
| 633 | } |
| 634 | |
| 635 | BFP_EXPORT void BFP_CALLTYPE BfpSystem_AddCrashInfo(const char* str) // Can do at any time, or during CrashInfoFunc callbacks |
| 636 | { |
nothing calls this directly
no test coverage detected