[vala] glib-2.0: Add bindings for GDebugKey and g_parse_debug_string()



commit 84d6f1483a3a6291944a047cecd7ff14a26c5d34
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Jul 16 23:14:46 2010 -0700

    glib-2.0: Add bindings for GDebugKey and g_parse_debug_string()
    
    Fixes bug 623148.

 vapi/glib-2.0.vapi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 0c0a8e6..2e6d902 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]