diff options
| author | Jimmy "Keeba" Lefevre <43423342+JimmyLefevre@users.noreply.github.com> | 2022-06-27 21:48:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-27 21:48:02 +0200 |
| commit | 9e288b7ce80f377cfb37c3f2d3ba1d95130885b6 (patch) | |
| tree | c026f3e4df73b873918186f96c9baa50a1451526 | |
| parent | 776b48c10db280f555853edbd08f0fc634b97db9 (diff) | |
Change LPCSTR to LPCWSTR in windows _W procedures
| -rw-r--r-- | core/sys/windows/kernel32.odin | 4 |
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( |