From ffece911e62a9e5fd76f5d1c058b971f74de1b05 Mon Sep 17 00:00:00 2001 From: GrayJack Date: Sun, 3 Oct 2021 00:52:34 -0300 Subject: [PATCH] Expose `janet_rng_double` to the C API --- src/include/janet.h | 1 + 1 file changed, 1 insertion(+) 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);