]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Use simple generics for HashTable creation method
authorJürg Billeter <j@bitron.ch>
Tue, 15 Jun 2010 17:51:17 +0000 (19:51 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 15 Jun 2010 17:58:36 +0000 (19:58 +0200)
vapi/glib-2.0.vapi

index de1b658f166503015b2ccf89f86ee392e15f3c4a..9aee958b2eed254acc837e07c7ca295224396e06 100644 (file)
@@ -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);