Browse Source

Merge pull request #3806 from NicknEma/windows_fixes

Update CommandLineToArgvW return type
Jeroen van Rijn 1 year ago
parent
commit
5d1d98cef3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/sys/windows/shell32.odin

+ 1 - 1
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,