PtGenTreeItemRealloc()

Reallocate an item

Synopsis:

PtGenTreeItem_t *PtGenTreeItemRealloc( 
                     PtGenTreeItem_t *item, 
                     PtWidget_t *tree, 
                     size_t newsize );

Description:

Use this function to reallocate an item. It repairs any links damaged if the realloc() function moves the item to a different address. The tree argument must point to the tree that contains the item or be NULL if the item doesn't belong to any tree.

Returns:

A pointer to the reallocated item.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree, PtGenTreeItem_t