add g_bit_nth_lsf, g_bit_nth_msf, and g_bit_storage
authorJürg Billeter <j@bitron.ch>
Tue, 24 Apr 2007 09:34:13 +0000 (09:34 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Tue, 24 Apr 2007 09:34:13 +0000 (09:34 +0000)
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

vala/ChangeLog
vala/vapi/glib-2.0.vala

index ccfa105..16978c0 100644 (file)
@@ -1,5 +1,10 @@
 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
index 94e5321..5523a0f 100644 (file)
@@ -1065,6 +1065,12 @@ namespace GLib {
                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);
        }