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

all: byte => u8

This commit is contained in:
Alexander Medvednikov
2022-04-15 14:58:56 +03:00
parent b49d873217
commit d4a0d6f73c
221 changed files with 1365 additions and 1365 deletions

View File

@ -23,9 +23,9 @@ fn do_send_int(mut ch Channel) {
ch.close()
}
fn do_send_byte(mut ch Channel) {
fn do_send_u8(mut ch Channel) {
for i in 0 .. 300 {
ii := byte(i)
ii := u8(i)
ch.push(&ii)
}
ch.close()
@ -46,14 +46,14 @@ fn test_select() {
mut recch := new_channel<i64>(0)
go do_rec_i64(mut recch)
go do_send_int(mut chi)
go do_send_byte(mut chb)
go do_send_u8(mut chb)
go do_send_i64(mut chl)
mut channels := [chi, recch, chl, chb]
directions := [Direction.pop, .push, .pop, .pop]
mut sum := i64(0)
mut rl := i64(0)
mut ri := int(0)
mut rb := byte(0)
mut rb := u8(0)
mut sl := i64(0)
mut objs := [voidptr(&ri), &sl, &rl, &rb]
for j in 0 .. 1101 {