vala r2204 - in trunk: . vapi
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2204 - in trunk: . vapi
- Date: Wed, 17 Dec 2008 21:33:33 +0000 (UTC)
Author: juergbi
Date: Wed Dec 17 21:33:33 2008
New Revision: 2204
URL: http://svn.gnome.org/viewvc/vala?rev=2204&view=rev
Log:
2008-12-17 JÃrg Billeter <j bitron ch>
* vapi/glib-2.0.vapi:
GTree binding improvements, patch by Evan Nemerson,
fixes bug 564823
Modified:
trunk/ChangeLog
trunk/vapi/glib-2.0.vapi
Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi (original)
+++ trunk/vapi/glib-2.0.vapi Wed Dec 17 21:33:33 2008
@@ -3095,7 +3095,7 @@
/* 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 @@
[CCode (free_function = "g_tree_destroy")]
public class Tree<K,V> {
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]