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

cgen: sort structs

This commit is contained in:
Alexander Medvednikov
2020-03-05 23:27:21 +01:00
parent a8e45251c4
commit 04d5dd8997
5 changed files with 302 additions and 26 deletions

View File

@@ -4,13 +4,15 @@
module wyhash
pub fn rand_u64(seed &u64) u64 {
mut seed0 := seed
// QTODO
/*
mut seed0 := seed
unsafe{
mut seed1 := *seed0
seed1+=wyp0
*seed0 = seed1
return wymum(seed1^wyp1, seed1)
}
//return 0
*/
return 0
}