Work on unicode

This commit is contained in:
Krzosa Karol
2022-06-17 11:53:36 +02:00
parent a77f0ee8fe
commit 8f1d400b57
3 changed files with 87 additions and 89 deletions

View File

@@ -39,7 +39,6 @@ release :: (m: *Memory)
m.commit = 0
m.reserve = 0
String16 :: struct;; str: *U16; len: S64
print :: (string: String16)
handle := GetStdHandle(STD_OUTPUT_HANDLE)
WriteConsoleW(handle, (string.str)->*void, string.len->DWORD, 0, 0)