2007-04-24 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: add g_bit_nth_lsf, g_bit_nth_msf, and
g_bit_storage
svn path=/trunk/; revision=288
2007-04-24 Jürg Billeter <j@bitron.ch>
+ * vapi/glib-2.0.vala: add g_bit_nth_lsf, g_bit_nth_msf, and
+ g_bit_storage
+
+2007-04-24 Jürg Billeter <j@bitron.ch>
+
* vala/valacallback.vala: add possibility to override default cname
* vala/valaattributeprocessor.vala: process callback attributes
* vala/valainterfacewriter.vala: cleanup code to write identifiers
public static ref string build_filename (string first_element, ...);
}
+ public static class Bit {
+ public static int nth_lsf (ulong mask, int nth_bit);
+ public static int nth_msf (ulong mask, int nth_bit);
+ public static uint storage (ulong number);
+ }
+
public static class SpacedPrimes {
public static uint closest (uint num);
}