7.8.3 Starting at the Last Node |
273. <TBST traverser last initializer 273> = void *
tbst_t_last (struct tbst_traverser *trav, struct tbst_table *tree)
{ assert (tree != NULL && trav != NULL); trav->tbst_table = tree; trav->tbst_node = tree->tbst_root; if (trav->tbst_node != NULL)
{ while (trav->tbst_node->tbst_tag[1] == TBST_CHILD) trav->tbst_node = trav->tbst_node->tbst_link[1]; return trav->tbst_node->tbst_data; } else
return NULL; }
This code is included in 270.