]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add bindings for GDebugKey and g_parse_debug_string()
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Sat, 17 Jul 2010 06:14:46 +0000 (23:14 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 17 Jul 2010 06:14:46 +0000 (23:14 -0700)
Fixes bug 623148.

vapi/glib-2.0.vapi

index 0c0a8e6ced4aa70294c316417059abbf44c87762..2e6d90217a1a0f1a856b23eaef7cadd877e1fa5f 100644 (file)
@@ -1934,6 +1934,14 @@ namespace GLib {
                public const string METHOD;
        }
 
+       [CCode (has_type_id = false)]
+       public struct DebugKey {
+               unowned string key;
+               uint value;
+       }
+
+       public uint parse_debug_string (string? debug_string, DebugKey[] keys);
+
        /* String Utility Functions */
 
        public uint strv_length ([CCode (array_length = false, array_null_terminated = true)] string[] str_array);