aboutsummaryrefslogtreecommitdiff
path: root/stdlib/integers.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-03 16:10:03 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-03 16:10:03 -0500
commit7ccb7a8a9b8f10d30fd8fca01e849dcad354a855 (patch)
tree1f1bf3c3617f790f80598fa82b8fadafc576e853 /stdlib/integers.h
parent39a58bc129fd9461d54b837bc1650c4c650aa333 (diff)
Use an RNG parameter for array:random(), array:shuffle(),
array:shuffled()
Diffstat (limited to 'stdlib/integers.h')
-rw-r--r--stdlib/integers.h1
1 files changed, 1 insertions, 0 deletions
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) { \