From: Jürg Billeter Date: Fri, 10 Jul 2009 14:43:52 +0000 (+0100) Subject: glib-2.0: Add GHashTableIter binding X-Git-Tag: 0.7.5~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=693204d6789d74e0490504a0db58b60c78627d7d;p=thirdparty%2Fvala.git glib-2.0: Add GHashTableIter binding Based on patch by Yu Feng, fixes bug 571779. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 773275b14..d1d075f0d 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3145,6 +3145,14 @@ namespace GLib { public void steal_all (); } + public struct HashTableIter { + public HashTableIter (GLib.HashTable table); + public bool next (out unowned K key, out unowned V value); + public void remove (); + public void steal (); + public unowned GLib.HashTable get_hash_table (); + } + [CCode (has_target = false)] public static delegate uint HashFunc (void* key); [CCode (has_target = false)]