From: Jürg Billeter Date: Tue, 31 Mar 2009 21:35:13 +0000 (+0200) Subject: glib-2.0: Fix g_hash_table_new* bindings X-Git-Tag: 0.6.1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b648e8e72f201eba0ebfa3d84fb845f202df6edd;p=thirdparty%2Fvala.git glib-2.0: Fix g_hash_table_new* bindings Fixes bug 577460. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index b7ce9c8b8..3eaa98000 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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 : 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);