|
| iMatix home page | << | < | > | >> |
SFLVersion 2.10 |
#include "sfltree.h" void *tree_first (void *tree)
Finds and returns the first node in a (sub-)tree.
{
TREE
*current;
if ((!tree)
|| (tree == TREE_NULL))
return NULL;
current = tree;
while (current-> left != TREE_NULL)
current = current-> left;
return current;
}
| | << | < | > | >> |
|