MCPcopy Create free account
hub / github.com/ZDoom/Raze / I_DebugPrint

Function I_DebugPrint

source/common/utility/engineerrors.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41#include <windows.h>
42#include "zstring.h"
43void I_DebugPrint(const char *cp)
44{
45 if (IsDebuggerPresent())
46 {
47 auto wstr = WideString(cp);
48 OutputDebugStringW(wstr.c_str());
49 }
50}
51
52void I_DebugPrintf(const char *fmt,...)
53{

Callers 2

I_ErrorFunction · 0.85
I_FatalErrorFunction · 0.85

Calls 2

WideStringFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected