[vala] GVariant binding: add lookup APIs



commit e955a8dc237148a6b8fd2e41229488cb9034b9c8
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Feb 13 19:57:55 2011 -0500

    GVariant binding: add lookup APIs

 vapi/glib-2.0.vapi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index fb6453f..0aac9d8 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4436,6 +4436,9 @@ namespace GLib {
 		public size_t n_children ();
 		public Variant get_child_value (size_t index);
 
+		public Variant? lookup_value (string key, VariantType? expected_type);
+		public bool lookup (string key, string format_string, ...);
+
 		public size_t get_size ();
 		public void *get_data ();
 		public void store (void *data);



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