mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
8 lines
148 B
V
8 lines
148 B
V
|
module wyrand
|
||
|
|
||
|
// free should be called when the generator is no longer needed
|
||
|
[unsafe]
|
||
|
pub fn (mut rng WyRandRNG) free() {
|
||
|
unsafe { free(rng) }
|
||
|
}
|