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:
parent
a620e66af5
commit
ddcff7e9c5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user