elf/include/random.h

14 lines
158 B
C
Raw Normal View History

2024-04-06 18:02:47 +00:00
#ifndef RANDOM_H
#define RANDOM_H
#include <types.h>
typedef struct {
int64_t seed;
} RandGen;
RandGen randinit();
int64_t randnext(RandGen *g);
#endif