HS_freeFIFONode Function (ROM Call 0x240)

homescr.h

void HS_freeFIFONode (HANDLE Node);

Frees a FIFO node.

HS_freeFIFONode frees the node pointed to by Node, including the expressions it contains. The node should have been allocated with HS_newFIFONode. This function takes into account that the handles for the entry and answer may be the same.

This function is called by HS_deleteFIFONode and HS_freeAll. You should call it yourself only if you want to free a node you have allocated yourself, but which you could not insert into the history using HS_pushFIFONode.


Uses: HeapFree, HeapFreeIndir
Used by: HomeExecute, HomePushEStack, HomeStorePair, HS_deleteFIFONode, HS_freeAll


See also: HS_newFIFONode, HS_deleteFIFONode