4.9.3.9 Getting the Current Item [ToC] [Index]     [Skip Back] [Skip Fwd]     [Prev] [Up] [Next]

74. <BST traverser current item function 74> =
void *
bst_t_cur (struct bst_traverser *trav)
{ assert (trav != NULL); return trav->bst_node != NULL ? trav->bst_node->bst_data : NULL; }
This code is included in 63, 178, 268, 395, 502, and 546.

Prev: 4.9.3.8 Backing Up to the Previous Node Up: 4.9.3 Better Iterative Traversal 4.9.3.10 Replacing the Current Item Next