summaryrefslogtreecommitdiff
path: root/source/kit/mersenne_twister_64.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-07-14 21:12:37 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-07-14 21:12:37 +0200
commit30740ca4131d1f574718262451b4410207dc8d4e (patch)
treefc88b16a216079397ad85b9c6b1a1c1c5712a814 /source/kit/mersenne_twister_64.h
parent5e3c99bb1cf1d03ea006300121265571f5008fd2 (diff)
downloadsaw-30740ca4131d1f574718262451b4410207dc8d4e.zip
Reworking the build system
Diffstat (limited to 'source/kit/mersenne_twister_64.h')
-rw-r--r--source/kit/mersenne_twister_64.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/source/kit/mersenne_twister_64.h b/source/kit/mersenne_twister_64.h
deleted file mode 100644
index 2709dd7..0000000
--- a/source/kit/mersenne_twister_64.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef KIT_MERSENNE_TWISTER_64_H
-#define KIT_MERSENNE_TWISTER_64_H
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-enum {
- KIT_MT64_N = 312,
-};
-
-typedef struct {
- u64 mt[KIT_MT64_N];
- u64 index;
-} kit_mt64_state_t;
-
-void kit_mt64_init_array(kit_mt64_state_t *state, i64 size,
- u64 *seed);
-void kit_mt64_init(kit_mt64_state_t *state, u64 seed);
-void kit_mt64_rotate(kit_mt64_state_t *state);
-u64 kit_mt64_generate(kit_mt64_state_t *state);
-
-#ifdef __cplusplus
-}
-#endif
-
-#define mt64_state_t kit_mt64_state_t
-#define mt64_init_array kit_mt64_init_array
-#define mt64_init kit_mt64_init
-#define mt64_rotate kit_mt64_rotate
-#define mt64_generate kit_mt64_generate
-
-#endif