mirror of
https://github.com/janet-lang/janet
synced 2025-01-13 09:00:26 +00:00
Expose janet_rng_double
to the C API
This commit is contained in:
parent
160dd830a0
commit
ffece911e6
@ -1454,6 +1454,7 @@ JANET_API JanetRNG *janet_default_rng(void);
|
||||
JANET_API void janet_rng_seed(JanetRNG *rng, uint32_t seed);
|
||||
JANET_API void janet_rng_longseed(JanetRNG *rng, const uint8_t *bytes, int32_t len);
|
||||
JANET_API uint32_t janet_rng_u32(JanetRNG *rng);
|
||||
JANET_API double janet_rng_double(JanetRNG *rng);
|
||||
|
||||
/* Array functions */
|
||||
JANET_API JanetArray *janet_array(int32_t capacity);
|
||||
|
Loading…
Reference in New Issue
Block a user