1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix build-vc job

This commit is contained in:
Delyan Angelov 2021-04-05 22:18:18 +03:00
parent acb6145d53
commit 1899845582
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 7 additions and 7 deletions

View File

@ -34,7 +34,7 @@ fn panic_debug(line_no int, file string, mod string, fn_name string, s string) {
$if panics_break_into_debugger ? {
break_if_debugger_attached()
} $else {
C.tcc_backtrace('Backtrace')
C.tcc_backtrace(c'Backtrace')
}
C.exit(1)
}
@ -65,7 +65,7 @@ pub fn panic(s string) {
$if panics_break_into_debugger ? {
break_if_debugger_attached()
} $else {
C.tcc_backtrace('Backtrace')
C.tcc_backtrace(c'Backtrace')
}
C.exit(1)
}

View File

@ -354,8 +354,8 @@ fn new_map_init_2(hash_fn MapHashFn, key_eq_fn MapEqFn, clone_fn MapCloneFn, fre
for _ in 0 .. n {
unsafe {
out.set_1(pkey, pval)
pkey += key_bytes
pval += value_bytes
pkey = pkey + key_bytes
pval = pval + value_bytes
}
}
return out
@ -696,7 +696,7 @@ pub fn (m &map) keys() []string {
unsafe {
pkey := m.key_values.key(i)
m.clone_fn(item, pkey)
item += m.key_bytes
item = item + m.key_bytes
}
}
return keys
@ -711,7 +711,7 @@ fn (m &map) keys_1() array {
unsafe {
pkey := m.key_values.key(i)
m.clone_fn(item, pkey)
item += m.key_bytes
item = item + m.key_bytes
}
}
return keys
@ -723,7 +723,7 @@ fn (m &map) keys_1() array {
unsafe {
pkey := m.key_values.key(i)
m.clone_fn(item, pkey)
item += m.key_bytes
item = item + m.key_bytes
}
}
return keys