]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix type of g_hash_table_iter_next() parameters to always be gpointer
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 25 Oct 2013 10:48:02 +0000 (11:48 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Fri, 25 Oct 2013 23:00:07 +0000 (00:00 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=710868

vapi/glib-2.0.vapi

index 50373c97b59f896ace44740d80dee6949f53965a..915eb681114f1401ceea75fcb8b8888d3bcfd5c5 100644 (file)
@@ -4068,7 +4068,7 @@ namespace GLib {
 
        public struct HashTableIter<K,V> {
                public HashTableIter (GLib.HashTable<K,V> table);
-               public bool next (out unowned K key, out unowned V value);
+               public bool next ([CCode (type = "gpointer*")] out unowned K key, [CCode (type = "gpointer*")] out unowned V value);
                public void remove ();
                public void steal ();
                public unowned GLib.HashTable<K,V> get_hash_table ();