diff options
| author | NicknEma <62065135+NicknEma@users.noreply.github.com> | 2024-06-25 12:10:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-25 12:10:17 +0200 |
| commit | 845613c4046fc0f46e647cb40c1ee26b8800da7f (patch) | |
| tree | da99f771bfcd1d82f888361fee9a1807f9864e53 /core/sys/windows/shell32.odin | |
| parent | 98b539ac5c64004c1bd1d3f8fed5e59028b12739 (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.odin | 2 |
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, |