mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
rand: move dist functions to top module and PRNG interface; minor cleanup (#14481)
This commit is contained in:
10
vlib/rand/buffer/buffer.v
Normal file
10
vlib/rand/buffer/buffer.v
Normal file
@ -0,0 +1,10 @@
|
||||
// Copyright (c) 2019-2022 Alexander Medvednikov. All rights reserved.
|
||||
// Use of this source code is governed by an MIT license
|
||||
// that can be found in the LICENSE file.
|
||||
module buffer
|
||||
|
||||
pub struct PRNGBuffer {
|
||||
mut:
|
||||
bytes_left int
|
||||
buffer u64
|
||||
}
|
Reference in New Issue
Block a user