mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Merge tag 'dev-2025-07'
This commit is contained in:
@@ -193,7 +193,7 @@ current_thread_id :: proc "contextless" () -> int {
|
||||
|
||||
|
||||
|
||||
@(require_results)
|
||||
@(private, require_results)
|
||||
_alloc_command_line_arguments :: proc() -> []string {
|
||||
arg_count: i32
|
||||
arg_list_ptr := win32.CommandLineToArgvW(win32.GetCommandLineW(), &arg_count)
|
||||
@@ -215,6 +215,14 @@ _alloc_command_line_arguments :: proc() -> []string {
|
||||
return arg_list
|
||||
}
|
||||
|
||||
@(private, fini)
|
||||
_delete_command_line_arguments :: proc() {
|
||||
for s in args {
|
||||
delete(s)
|
||||
}
|
||||
delete(args)
|
||||
}
|
||||
|
||||
/*
|
||||
Windows 11 (preview) has the same major and minor version numbers
|
||||
as Windows 10: 10 and 0 respectively.
|
||||
|
||||
Reference in New Issue
Block a user