aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows/shell32.odin
diff options
context:
space:
mode:
authorNicknEma <62065135+NicknEma@users.noreply.github.com>2024-06-25 12:10:17 +0200
committerGitHub <noreply@github.com>2024-06-25 12:10:17 +0200
commit845613c4046fc0f46e647cb40c1ee26b8800da7f (patch)
treeda99f771bfcd1d82f888361fee9a1807f9864e53 /core/sys/windows/shell32.odin
parent98b539ac5c64004c1bd1d3f8fed5e59028b12739 (diff)
Update CommandLineToArgvW return type
It now returns a multi-pointer so it can be iterated without any casting.
Diffstat (limited to 'core/sys/windows/shell32.odin')
-rw-r--r--core/sys/windows/shell32.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/windows/shell32.odin b/core/sys/windows/shell32.odin
index 358b8482f..4ec6e8b02 100644
--- a/core/sys/windows/shell32.odin
+++ b/core/sys/windows/shell32.odin
@@ -5,7 +5,7 @@ foreign import shell32 "system:Shell32.lib"
@(default_calling_convention="system")
foreign shell32 {
- CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> ^wstring ---
+ CommandLineToArgvW :: proc(cmd_list: wstring, num_args: ^c_int) -> [^]wstring ---
ShellExecuteW :: proc(
hwnd: HWND,
lpOperation: LPCWSTR,