Files
RedHotRoast-ios/HybridCLRData/LocalIl2CppData-OSXEditor/il2cpp/libil2cpp/os/Win32/Debug.cpp
T
2026-07-17 14:03:00 +08:00

26 lines
441 B
C++

#include "os/c-api/il2cpp-config-platforms.h"
#if IL2CPP_TARGET_WINDOWS
#include "os/Debug.h"
#include "os/Win32/WindowsHeaders.h"
#include "utils/StringUtils.h"
namespace il2cpp
{
namespace os
{
bool Debug::IsDebuggerPresent()
{
return ::IsDebuggerPresent() != FALSE;
}
void Debug::WriteString(const utils::StringView<Il2CppNativeChar>& message)
{
OutputDebugString(message.Str());
}
}
}
#endif