mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
windows: cleanup after bootstrapping with unicode entrypoint
This commit is contained in:

committed by
Alexander Medvednikov

parent
796c376408
commit
2f23ee4818
@ -74,15 +74,7 @@ mut:
|
||||
bInheritHandle bool
|
||||
}
|
||||
|
||||
fn init_os_args(argc int, argv &byteptr) []string {
|
||||
mut args := []string
|
||||
for i := 0; i < argc; i++ {
|
||||
args << string(argv[i])
|
||||
}
|
||||
return args
|
||||
}
|
||||
|
||||
fn init_os_args_wide(argc int, argv &byteptr) []string {
|
||||
fn init_os_args_wide(argc int, argv &byteptr) []string {
|
||||
mut args := []string
|
||||
for i := 0; i < argc; i++ {
|
||||
args << string_from_wide(&u16(argv[i]))
|
||||
|
Reference in New Issue
Block a user