]> 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)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 3 Nov 2012 02:27:24 +0000 (19:27 -0700)
vapi/glib-2.0.vapi

index 312866cbfb6e745cfb4c24f26c39aa71e53fd83a..8777cd0677b48c787c3c6dc14c1a0b123b41d452 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")]