aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-06-28 11:27:57 +0100
committergingerBill <bill@gingerbill.org>2022-06-28 11:27:57 +0100
commitf60e8031f2fce49608703a1f5534ab9517f517df (patch)
tree0d89897b97da65751d103088d41c2ce7ed889fbf
parentea42613fec8aa5875e1557cbc913651ad979463c (diff)
parent2cbb3d5a24398784ffb8534d8a255c61b9e3160f (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
-rw-r--r--core/sys/windows/kernel32.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin
index 8f6c63e42..284936852 100644
--- a/core/sys/windows/kernel32.odin
+++ b/core/sys/windows/kernel32.odin
@@ -6,7 +6,7 @@ foreign import kernel32 "system:Kernel32.lib"
@(default_calling_convention="stdcall")
foreign kernel32 {
OutputDebugStringA :: proc(lpOutputString: LPCSTR) --- // The only A thing that is allowed
- OutputDebugStringW :: proc(lpOutputString: LPCSTR) ---
+ OutputDebugStringW :: proc(lpOutputString: LPCWSTR) ---
ReadConsoleW :: proc(hConsoleInput: HANDLE,
lpBuffer: LPVOID,
@@ -101,7 +101,7 @@ foreign kernel32 {
GetExitCodeThread :: proc(thread: HANDLE, exit_code: ^DWORD) -> BOOL ---
TerminateThread :: proc(thread: HANDLE, exit_code: DWORD) -> BOOL ---
- CreateSemaphoreW :: proc(attributes: LPSECURITY_ATTRIBUTES, initial_count, maximum_count: LONG, name: LPCSTR) -> HANDLE ---
+ CreateSemaphoreW :: proc(attributes: LPSECURITY_ATTRIBUTES, initial_count, maximum_count: LONG, name: LPCWSTR) -> HANDLE ---
ReleaseSemaphore :: proc(semaphore: HANDLE, release_count: LONG, previous_count: ^LONG) -> BOOL ---
CreateWaitableTimerW :: proc(