]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix g_hash_table_new* bindings
authorJürg Billeter <j@bitron.ch>
Tue, 31 Mar 2009 21:35:13 +0000 (23:35 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 2 Apr 2009 13:06:06 +0000 (15:06 +0200)
Fixes bug 577460.

vapi/glib-2.0.vapi

index b7ce9c8b829c93f293314f068389285f6b2170f9..3eaa98000526ce4cbda209f9e4053f781409b22a 100644 (file)
@@ -3101,8 +3101,8 @@ namespace GLib {
        [Compact]
        [CCode (ref_function = "g_hash_table_ref", unref_function = "g_hash_table_unref", type_id = "G_TYPE_HASH_TABLE", type_signature = "a{%s}")]
        public class HashTable<K,V> : Boxed {
-               public HashTable (HashFunc hash_func, EqualFunc key_equal_func);
-               public HashTable.full (HashFunc hash_func, EqualFunc key_equal_func, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func);
+               public HashTable (HashFunc? hash_func, EqualFunc? key_equal_func);
+               public HashTable.full (HashFunc? hash_func, EqualFunc? key_equal_func, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func);
                public void insert (K# key, V# value);
                public void replace (K# key, V# value);
                public weak V lookup (K key);