Creates a new Tree like g_tree_new
and allows to specify functions to free the
memory allocated for the key and value that get called when removing the entry from the Tree.
key_compare_func |
qsort-style comparison function |
key_destroy_func |
a function to free the memory allocated for the key used when removing the entry from the Tree or null if you don't want to supply such a function |
key_compare_data |
data to pass to comparison function |
value_destroy_func |
a function to free the memory allocated for the value used when removing the entry from the Tree or null if you don't want to supply such a function |
a newly allocated Tree |