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

rand/pcg32: make the struct public

This commit is contained in:
Alexander Medvednikov 2019-11-19 14:26:14 +03:00
parent a620e66af5
commit ddcff7e9c5

View File

@ -3,7 +3,7 @@ module rand
// Ported from http://www.pcg-random.org/download.html // Ported from http://www.pcg-random.org/download.html
// and https://github.com/imneme/pcg-c-basic/blob/master/pcg_basic.c // and https://github.com/imneme/pcg-c-basic/blob/master/pcg_basic.c
struct Pcg32 { pub struct Pcg32 {
mut: mut:
state u64 state u64
inc u64 inc u64