debug_print 向けの OutputDebugString 出力を追加

このコミットが含まれているのは:
routersys committed 2026-07-02 23:11:05 +09:00
1 親 2be3c3d28b
コミット 0b0c795d7a
1ファイル変更
+12
+12
ファイルの表示
@@ -0,0 +1,12 @@
using System.Runtime.InteropServices;
namespace LuaScript.Diagnostics
{
internal static partial class DebugOutput
{
[LibraryImport("kernel32.dll", EntryPoint = "OutputDebugStringW", StringMarshalling = StringMarshalling.Utf16)]
private static partial void OutputDebugStringW(string message);
internal static void Write(string message) => OutputDebugStringW(message);
}
}