Squashing file write bugs
This commit is contained in:
@@ -39,6 +39,6 @@ release :: (m: *Memory)
|
||||
m.commit = 0
|
||||
m.reserve = 0
|
||||
|
||||
print :: (string: String)
|
||||
print :: (string: String16)
|
||||
handle := GetStdHandle(STD_OUTPUT_HANDLE)
|
||||
WriteConsoleA(handle, &string[0]->*void, length_of(string)->DWORD, 0, 0)
|
||||
WriteConsoleW(handle, (string.str)->*void, string.len->DWORD, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user