From: Philip Withnall Date: Sat, 17 Jul 2010 06:14:46 +0000 (-0700) Subject: glib-2.0: Add bindings for GDebugKey and g_parse_debug_string() X-Git-Tag: 0.9.4~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84d6f1483a3a6291944a047cecd7ff14a26c5d34;p=thirdparty%2Fvala.git glib-2.0: Add bindings for GDebugKey and g_parse_debug_string() Fixes bug 623148. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 0c0a8e6ce..2e6d90217 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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);