Free the items in a subtree
void PtGenTreeFreeItems( PtGenTreeItem_t *item );
This function frees the subtree item, together with its siblings and their children. The function assumes that the items don't belong to any tree. (Use PtGenTreeRemoveItem(), PtGenTreeRemoveList(), or PtGenTreeRemoveChildren() to remove the subtree before freeing it.)
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |