[vala] glib-2.0: Fix type of g_hash_table_iter_next() parameters to always be gpointer



commit ccca45f1aba57d965bb28bfa0e19b1ac2cbc8f97
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Oct 25 11:48:02 2013 +0100

    glib-2.0: Fix type of g_hash_table_iter_next() parameters to always be gpointer
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710868

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 50373c9..915eb68 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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 ();


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