Function

GLibrandom_int_range

Declaration [src]

gint32
g_random_int_range (
  gint32 begin,
  gint32 end
)

Description [src]

Returns a random #gint32 equally distributed over the range [begin..end-1].

Parameters

begin gint32
 

Lower closed bound of the interval.

end gint32
 

Upper open bound of the interval.

Return value

Returns: gint32
 

A random number.