]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
GVariant binding: add lookup APIs
authorRyan Lortie <desrt@desrt.ca>
Mon, 14 Feb 2011 00:57:55 +0000 (19:57 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 14 Feb 2011 00:57:55 +0000 (19:57 -0500)
vapi/glib-2.0.vapi

index fb6453f01d2e0544f46deede4c77201c9733273b..0aac9d87c547e883f90877c1bf5b14133f42ddc6 100644 (file)
@@ -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);