| iMatix home page | << | < | > | >> |
![]() Version 1.91 |
#include "sfltree.h" void *tree_last (void *tree)
Finds and returns the last node in a (sub-)tree.
{ TREE *current; if ((!tree) || (tree == TREE_NULL)) return NULL; current = tree; while (current-> right != TREE_NULL) current = current-> right; return current; }
| << | < | > | >> |
![]() |