mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 20:00:09 +00:00
General clean up of the os2/process_windows.odin code
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
package os2
|
||||
|
||||
import "core:sync"
|
||||
import "core:time"
|
||||
import "base:runtime"
|
||||
import "core:strings"
|
||||
import "core:time"
|
||||
|
||||
/*
|
||||
In procedures that explicitly state this as one of the allowed values,
|
||||
@@ -20,9 +18,9 @@ args := get_args()
|
||||
get_args :: proc() -> []string {
|
||||
result := make([]string, len(runtime.args__), heap_allocator())
|
||||
for rt_arg, i in runtime.args__ {
|
||||
result[i] = cast(string) rt_arg
|
||||
result[i] = string(rt_arg)
|
||||
}
|
||||
return result[:]
|
||||
return result
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+269
-487
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user