Function Macro

GLibrandom_boolean

since: 2.0

Declaration

#define g_random_boolean (
  void
)

Description

Returns a random #gboolean. This corresponds to an unbiased coin toss.

Available since: 2.0

This function is not directly available to language bindings.