From ddcff7e9c542653473e8b659ccecf9260e76f9d0 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 19 Nov 2019 14:26:14 +0300 Subject: [PATCH] rand/pcg32: make the struct public --- vlib/rand/pcg32.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/rand/pcg32.v b/vlib/rand/pcg32.v index f2a2954de2..110bc69154 100644 --- a/vlib/rand/pcg32.v +++ b/vlib/rand/pcg32.v @@ -3,7 +3,7 @@ module rand // Ported from http://www.pcg-random.org/download.html // and https://github.com/imneme/pcg-c-basic/blob/master/pcg_basic.c -struct Pcg32 { +pub struct Pcg32 { mut: state u64 inc u64