[vala] glib-2.0: Use simple generics for HashTable creation method



commit a75761c802f31b0345b2fe512ddbbfe0dfc28f6d
Author: Jürg Billeter <j bitron ch>
Date:   Tue Jun 15 19:51:17 2010 +0200

    glib-2.0: Use simple generics for HashTable creation method

 vapi/glib-2.0.vapi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index de1b658..9aee958 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3466,6 +3466,7 @@ 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> {
+		[CCode (cname = "g_hash_table_new_full", simple_generics = true)]
 		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 (owned K key, owned V value);



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