MCPcopy Create free account
hub / github.com/aseprite/laf / error_message

Function error_message

os/error.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace os {
21
22void error_message(const char* msg)
23{
24#if LAF_WINDOWS
25 if (msg)
26 MessageBoxW(nullptr, base::from_utf8(msg).c_str(), L"Error", MB_OK | MB_ICONERROR);
27#endif
28
29 fputs(msg, stderr);
30}
31
32} // namespace os

Callers

nothing calls this directly

Calls 1

from_utf8Function · 0.85

Tested by

no test coverage detected