Free the items in a subtree
int PtGenTreeFreeItems( PtGenTreeItem_t *item );
This function frees the subtree item, together with its siblings and their children. The items must not 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 |