Docs » Autodocs » exec.library » AVL_RemNodeByAddress
AVL_RemNodeByAddress - Remove a given node (V45)
result = AVL_RemNodeByAddress( root, node ) D0 A0 A1 struct AVLNode *AVL_RemNodeByAddress(struct AVLNode **, struct AVLNode *);
The function will remove the given node from the tree. Note that there is no arbitration for access to the tree. You should use a SignalSemaphore if arbitration is required.
root - Address of(!) the root pointer(!) of the AVL tree node - pointer to the struct AVLNode that should be removed
A pointer to the removed node.
The node to be removed *better*be* part of the tree or you lose big time!
AVL_FindLastNode(), AVL_FindNode(), AVL_FindFirstNode(), AVL_RemNodeByAddress(), AVL_AddNode()
|