| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Reallocate an item
PtGenTreeItem_t *PtGenTreeItemRealloc( 
                     PtGenTreeItem_t *item, 
                     PtWidget_t *tree, 
                     size_t newsize );
This function should be used to reallocate an item. It will repair 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.
A pointer to the reallocated item.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |