]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: add float.ROUNDS and RADIX
authorEvan Nemerson <evan@coeus-group.com>
Sat, 3 Nov 2012 02:27:24 +0000 (19:27 -0700)
committerJürg Billeter <j@bitron.ch>
Sun, 11 Nov 2012 13:05:29 +0000 (14:05 +0100)
vapi/glib-2.0.vapi

index 470971a07eab9357942dc2291f6d996f740b61f7..f509c9aa6a4efc90e4bc37c4a6544961ce575977 100644 (file)
@@ -661,6 +661,10 @@ public struct uint64 {
 [CCode (cname = "gfloat", cheader_filename = "glib.h,float.h,math.h", type_id = "G_TYPE_FLOAT", marshaller_type_name = "FLOAT", get_value_function = "g_value_get_float", set_value_function = "g_value_set_float", default_value = "0.0F")]
 [FloatingType (rank = 1)]
 public struct float {
+       [CCode (cname = "FLT_ROUNDS")]
+       public static int ROUNDS;
+       [CCode (cname = "FLT_RADIX")]
+       public static int RADIX;
        [CCode (cname = "FLT_MANT_DIG")]
        public static int MANT_DIG;
        [CCode (cname = "FLT_DIG")]