|
Defines
|
#define |
g_rand_boolean(rand_) ((g_rand_int (rand_) & (1 << 15)) != 0)
|
#define |
g_random_boolean() ((g_random_int () & (1 << 15)) != 0)
|
Typedefs
|
typedef typedefG_BEGIN_DECLS
struct _GRand
|
GRand |
Functions
|
IMPORT_C GRand *
|
g_rand_new_with_seed (guint32 seed)
|
IMPORT_C GRand *
|
g_rand_new_with_seed_array (const guint32 *seed, guint seed_length)
|
IMPORT_C GRand *
|
g_rand_new (void)
|
IMPORT_C void |
g_rand_free (GRand *rand_)
|
IMPORT_C GRand *
|
g_rand_copy (GRand *rand_)
|
IMPORT_C void |
g_rand_set_seed (GRand *rand_, guint32 seed)
|
IMPORT_C void |
g_rand_set_seed_array (GRand *rand_, const guint32 *seed, guint seed_length)
|
IMPORT_C guint32
|
g_rand_int (GRand *rand_)
|
IMPORT_C gint32
|
g_rand_int_range (GRand *rand_, gint32 begin, gint32 end)
|
IMPORT_C gdouble
|
g_rand_double (GRand *rand_)
|
IMPORT_C gdouble
|
g_rand_double_range (GRand *rand_, gdouble begin, gdouble end)
|
IMPORT_C void |
g_random_set_seed (guint32 seed)
|
IMPORT_C guint32
|
g_random_int (void)
|
IMPORT_C gint32
|
g_random_int_range (gint32 begin, gint32 end)
|
IMPORT_C gdouble
|
g_random_double (void)
|
IMPORT_C gdouble
|
g_random_double_range (gdouble begin, gdouble end)
|