Tree.with_data


Description:

[ Version ( deprecated_since = "vala-0.20" , replacement = "Tree ()" ) ]
public Tree.with_data (CompareDataFunc<K> key_compare_func)

Warning: Tree.with_data is deprecated since vala-0.20. Use Tree ().

Creates a new Tree with a comparison function that accepts user data.

See g_tree_new for more details.

Parameters:

key_compare_func

qsort-style comparison function

key_compare_data

data to pass to comparison function

Returns:

a newly allocated Tree