1
0
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:
GrayJack 2021-10-03 00:52:34 -03:00
parent 160dd830a0
commit ffece911e6
No known key found for this signature in database
GPG Key ID: AF36C790809AA487

View File

@ -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);