[vala] glib-2.0: Fix g_hash_table_new* bindings



commit 4432c8b5c20f6422baa7f60c4ecd3dcf9f331e3f
Author: Jürg Billeter <j bitron ch>
Date:   Tue Mar 31 23:35:13 2009 +0200

    glib-2.0: Fix g_hash_table_new* bindings
    
    Fixes bug 577460.
---
 vapi/glib-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index b7ce9c8..3eaa980 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<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);



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