29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
45#define M_RAND_MAX M_UINT64_MAX
void M_rand_destroy(M_rand_t *state)
M_rand_t * M_rand_create(M_uint64 seed)
M_uint64 M_rand(M_rand_t *state)
void M_rand_jump(M_rand_t *state)
struct M_rand M_rand_t
Definition: m_rand.h:48
M_bool M_rand_str(M_rand_t *state, const char *charset, char *out, size_t len)
M_uint64 M_rand_max(M_rand_t *state, M_uint64 max)
M_uint64 M_rand_range(M_rand_t *state, M_uint64 min, M_uint64 max)
M_rand_t * M_rand_duplicate(const M_rand_t *state)