summaryrefslogtreecommitdiff
path: root/structs.h
diff options
context:
space:
mode:
authorstderr64 <stderr64@null.net>2026-09-24 20:49:27 +0300
committerstderr64 <stderr64@null.net>2026-09-24 20:49:27 +0300
commitf54963e1364568d8f4f6e1a5be1646d4c5e7a94e (patch)
tree447191762cf030afce72724b8374b06348feab2d /structs.h
downloadlibxorshift-f54963e1364568d8f4f6e1a5be1646d4c5e7a94e.tar.gz
libxorshift-f54963e1364568d8f4f6e1a5be1646d4c5e7a94e.tar.zst
First commit
Diffstat (limited to 'structs.h')
-rw-r--r--structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/structs.h b/structs.h
new file mode 100644
index 0000000..34c923b
--- /dev/null
+++ b/structs.h
@@ -0,0 +1,6 @@
+struct rng_state{
+ size_t state_idx;
+ uint32_t states[16];
+ uint32_t gen_period_ctr;
+ uint8_t period_end_ctr;
+};