[Previous] [Contents] [Index] [Next]

PtGenTreeItemRealloc()

Reallocate an item

Synopsis:

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

Description:

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.

Returns:

A pointer to the reallocated item.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]