2008-05-02 Jürg Billeter <j@bitron.ch>
+ * vapi/glib-2.0.vapi: fix g_rand*_int and g_rand*_double bindings,
+ patch Ondrej Jirman, fixes bug 530207
+
+2008-05-02 Jürg Billeter <j@bitron.ch>
+
* gobject-introspection/scanner.c: (g_igenerator_add_symbol):
Do not add duplicate symbols,
[NoArrayLength ()]
public void set_seed_array (uint32[] seed, uint seed_length);
public bool boolean ();
+ [CCode (cname = "g_rand_int")]
public uint32 next_int ();
public int32 int_range (int32 begin, int32 end);
+ [CCode (cname = "g_rand_double")]
public double next_double ();
public double double_range (double begin, double end);
}
public static class Random {
public static void set_seed (uint32 seed);
public static bool boolean ();
+ [CCode (cname = "g_random_int")]
public static uint32 next_int ();
public static int32 int_range (int32 begin, int32 end);
+ [CCode (cname = "g_random_double")]
public static double next_double ();
public static double double_range (double begin, double end);
}