MCPcopy Create free account
hub / github.com/GlobedGD/globed2 / _throw_cpp_error_hook

Function _throw_cpp_error_hook

src/platform/windows/winehooks.cpp:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30};
31
32[[noreturn]] void GLOBED_DLL __cdecl _throw_cpp_error_hook(int code) {
33 throw std::system_error((int) codes[code], std::generic_category(), msgs[code]);
34}
35
36static void fixThrowCppErrorStub() {
37 auto address = reinterpret_cast<void*>(&std::_Throw_Cpp_error);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected