Sign in Join
FPDoc Onlineexperiment

TAVLTree.DisposeNode procedure

Member of TAVLTreepublicIn unit AVL_Tree

Dispose of a node outside of the tree.

Declaration

pascal
procedure DisposeNode(ANode: TAVLTreeNode); virtual

Arguments

ANode

Node to dispose of.

Description

DisposeNode disposes of a node outside of the tree. If the node manager is set, the node is returned to the manager, otherwise it is freed. Do not use this on a node that is still in the tree.

Errors

If use on a node in the tree, no error will happen, but the tree will no longer be correct and access violations may happen later on.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.