810 tree->cl = &cx_tree_default_class; |
810 tree->cl = &cx_tree_default_class; |
811 tree->allocator = allocator; |
811 tree->allocator = allocator; |
812 tree->node_create = create_func; |
812 tree->node_create = create_func; |
813 tree->search = search_func; |
813 tree->search = search_func; |
814 tree->search_data = search_data_func; |
814 tree->search_data = search_data_func; |
|
815 tree->simple_destructor = NULL; |
815 tree->advanced_destructor = (cx_destructor_func2) cxFree; |
816 tree->advanced_destructor = (cx_destructor_func2) cxFree; |
816 tree->destructor_data = (void *) allocator; |
817 tree->destructor_data = (void *) allocator; |
817 tree->loc_parent = loc_parent; |
818 tree->loc_parent = loc_parent; |
818 tree->loc_children = loc_children; |
819 tree->loc_children = loc_children; |
819 tree->loc_last_child = loc_last_child; |
820 tree->loc_last_child = loc_last_child; |