4.9.3.1 Starting at the Null Node |
|
The trav_t_init() function just initializes a traverser to the null
item, indicated by a null pointer for bst_node.
64. <BST traverser null initializer 64> =
void
bst_t_init (struct bst_traverser *trav, struct bst_table *tree)
{
trav->bst_table = tree;
trav->bst_node = NULL;
trav->bst_height = 0;
trav->bst_generation = tree->bst_generation;
}
This code is included in 63 and 178.
4.9.3 Better Iterative Traversal
|
4.9.3 Better Iterative Traversal
|
4.9.3.2 Starting at the First Node
|