mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: remaining nodes; match type fix; v2.c is now generated
This commit is contained in:
@@ -5,10 +5,12 @@ module wyhash
|
||||
|
||||
pub fn rand_u64(seed &u64) u64 {
|
||||
mut seed0 := seed
|
||||
// QTODO
|
||||
unsafe{
|
||||
mut seed1 := *seed0
|
||||
seed1+=wyp0
|
||||
*seed0 = seed1
|
||||
return wymum(seed1^wyp1, seed1)
|
||||
}
|
||||
//return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user