40#define RANDLOG_ON enable_randlog(TRUE);
41#define RANDLOG_OFF enable_randlog(FALSE);
56#define fc_rand(_size) \
57 fc_rand_debug((_size), "fc_rand", __FC_LINE__, __FILE__)
60 int line,
const char *file);
73#define fc_randomly(_seed, _size) \
74 fc_randomly_debug((_seed), (_size), "fc_randomly", __FC_LINE__, __FILE__)
78 int line,
const char *file);
bool fc_rand_is_init(void)
RANDOM_STATE fc_rand_state(void)
RANDOM_TYPE fc_rand_debug(RANDOM_TYPE size, const char *called_as, int line, const char *file)
void fc_srand(RANDOM_TYPE seed)
RANDOM_TYPE fc_randomly_debug(RANDOM_TYPE seed, RANDOM_TYPE size, const char *called_as, int line, const char *file)
void fc_rand_uninit(void)
void fc_rand_set_state(RANDOM_STATE state)