src/cx/tree.h

changeset 927
71e7e9ba4b97
parent 921
5a7aa9cf9c3a
equal deleted inserted replaced
926:8fdd8d78c14b 927:71e7e9ba4b97
925 * \attention This function will create an incompletely defined tree structure 925 * \attention This function will create an incompletely defined tree structure
926 * where neither the create function, the search function, nor a destructor 926 * where neither the create function, the search function, nor a destructor
927 * will be set. If you wish to use any of this functionality for the wrapped 927 * will be set. If you wish to use any of this functionality for the wrapped
928 * tree, you need to specify those functions afterwards. 928 * tree, you need to specify those functions afterwards.
929 * 929 *
930 * @param allocator the allocator that was used for nodes of the wrapped tree
930 * @param root the root node of the tree that shall be wrapped 931 * @param root the root node of the tree that shall be wrapped
931 * @param loc_parent offset in the node struct for the parent pointer 932 * @param loc_parent offset in the node struct for the parent pointer
932 * @param loc_children offset in the node struct for the children linked list 933 * @param loc_children offset in the node struct for the children linked list
933 * @param loc_last_child optional offset in the node struct for the pointer to 934 * @param loc_last_child optional offset in the node struct for the pointer to
934 * the last child in the linked list (negative if there is no such pointer) 935 * the last child in the linked list (negative if there is no such pointer)

mercurial