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

all: ~500 more byte=>u8

This commit is contained in:
Alexander Medvednikov
2022-04-15 18:25:45 +03:00
parent ae6a25f44e
commit fbb9e65c0f
148 changed files with 544 additions and 494 deletions

View File

@ -16,7 +16,7 @@ import time
pub interface PRNG {
mut:
seed(seed_data []u32)
u8() byte
u8() u8
u16() u16
u32() u32
u64() u64
@ -424,7 +424,7 @@ pub fn intn(max int) ?int {
}
// byte returns a uniformly distributed pseudorandom 8-bit unsigned positive `byte`.
pub fn u8() byte {
pub fn u8() u8 {
return default_rng.u8()
}