From: Jürg Billeter Date: Tue, 15 Jun 2010 17:51:17 +0000 (+0200) Subject: glib-2.0: Use simple generics for HashTable creation method X-Git-Tag: 0.9.2~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a75761c802f31b0345b2fe512ddbbfe0dfc28f6d;p=thirdparty%2Fvala.git glib-2.0: Use simple generics for HashTable creation method --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index de1b658f1..9aee958b2 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 { + [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);