Docs » Autodocs » exec.library » AVL_FindFirstNode
AVL_FindFirstNode -- return the lowest/smallest node (V45)
result = AVL_FindFirstNode( root ) D0 A0 struct AVLNode *LIB_AVL_FindFirstNode(const struct AVLNode *root)
This functions will return the pointer to the first node in the given AVL tree. Using this function, you can start to walk the tree in a "linear" fashion.
root - The pointer to the root of the AVL tree
A pointer to the smallest/lowest node in the tree or NULL for an empty tree.
AVL_FindNextNodeByAddress(), AVL_RemNodeByAddress()
|