Commit 019b615c authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

add g_bit_nth_lsf, g_bit_nth_msf, and g_bit_storage

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
parent c00d70c8
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> 2007-04-24 Jürg Billeter <j@bitron.ch>
* vala/valacallback.vala: add possibility to override default cname * vala/valacallback.vala: add possibility to override default cname
......
...@@ -1065,6 +1065,12 @@ namespace GLib { ...@@ -1065,6 +1065,12 @@ namespace GLib {
public static ref string build_filename (string first_element, ...); 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 class SpacedPrimes {
public static uint closest (uint num); public static uint closest (uint num);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment