diff options
| author | 2021-10-03 00:52:34 -0300 | |
|---|---|---|
| committer | 2021-10-03 00:52:34 -0300 | |
| commit | ffece911e62a9e5fd76f5d1c058b971f74de1b05 (patch) | |
| tree | 2aa708c6d70cc4625b1e6aebc39b4cb0613e5836 /src/include/janet.h | |
| parent | Add janet_interpreter_interrupt for custom scheduling. (diff) | |
Expose `janet_rng_double` to the C API
Diffstat (limited to 'src/include/janet.h')
| -rw-r--r-- | src/include/janet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h index 61f0e7ad..314689d2 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -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); |
