From: Jürg Billeter Date: Wed, 17 Dec 2008 21:33:33 +0000 (+0000) Subject: GTree binding improvements, patch by Evan Nemerson, fixes bug 564823 X-Git-Tag: VALA_0_5_4~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf5346d5027fdc4779b48c44748c7293ce105898;p=thirdparty%2Fvala.git GTree binding improvements, patch by Evan Nemerson, fixes bug 564823 2008-12-17 Jürg Billeter * vapi/glib-2.0.vapi: GTree binding improvements, patch by Evan Nemerson, fixes bug 564823 svn path=/trunk/; revision=2204 --- diff --git a/ChangeLog b/ChangeLog index 32502cf38..c52ece691 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-12-17 Jürg Billeter + + * vapi/glib-2.0.vapi: + + GTree binding improvements, patch by Evan Nemerson, + fixes bug 564823 + 2008-12-17 Jürg Billeter * vapi/packages/gstreamer-0.10/: diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 9fb16767d..de4ab0bdd 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3095,7 +3095,7 @@ namespace GLib { /* GTree */ - public static delegate int TraverseFunc (void* key, void* value, void* data); + public delegate int TraverseFunc (void* key, void* value); [CCode (c_prefix="C_", has_type_id = false)] public enum TraverseType { @@ -3109,16 +3109,16 @@ namespace GLib { [CCode (free_function = "g_tree_destroy")] public class Tree { public Tree (CompareFunc key_compare_func); - public Tree.with_data (CompareFunc key_compare_func, void* key_compare_data); - public Tree.full (CompareFunc key_compare_func, void* key_compare_data, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func); - public void insert (K key, V value); - public void replace (K key, V value); + public Tree.with_data (CompareDataFunc key_compare_func); + public Tree.full (CompareDataFunc key_compare_func, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func); + public void insert (K# key, V# value); + public void replace (K# key, V# value); public int nnodes (); public int height (); public weak V lookup (K key); public bool lookup_extended (K lookup_key, K orig_key, V value); - public void tree_foreach (TraverseFunc traverse_func, TraverseType traverse_type, void* user_data); - public weak V tree_search (CompareFunc search_func, void* user_data); + public void foreach (TraverseFunc traverse_func); + public weak V search (CompareFunc search_func, void* user_data); public bool remove (K key); public bool steal (K key); }