Starting at the Null Node [ToC] [Index]     [Skip Fwd]     [Prev] [Up] [Next]

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> =
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.