From 7ccb7a8a9b8f10d30fd8fca01e849dcad354a855 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 3 Nov 2024 16:10:03 -0500 Subject: Use an RNG parameter for array:random(), array:shuffle(), array:shuffled() --- stdlib/integers.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stdlib/integers.h') diff --git a/stdlib/integers.h b/stdlib/integers.h index e7b5b0e1..04699162 100644 --- a/stdlib/integers.h +++ b/stdlib/integers.h @@ -35,6 +35,7 @@ Text_t type_name ## $octal(c_type i, Int_t digits, bool prefix); \ Array_t type_name ## $bits(c_type x); \ c_type type_name ## $random(c_type min, c_type max); \ + c_type type_name ## $full_random(void); \ to_attr Range_t type_name ## $to(c_type from, c_type to); \ PUREFUNC Optional ## type_name ## _t type_name ## $from_text(Text_t text); \ MACROLIKE PUREFUNC c_type type_name ## $clamped(c_type x, c_type min, c_type max) { \ -- cgit v1.2.3