src/tree.c

changeset 910
5c2af036103f
parent 909
f4e00bb3f3b2
child 913
72db8e42b95e
equal deleted inserted replaced
909:f4e00bb3f3b2 910:5c2af036103f
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;

mercurial