Reallocate an item
PtGenTreeItem_t *PtGenTreeItemRealloc( PtGenTreeItem_t *item, PtWidget_t *tree, size_t newsize );
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.
A pointer to the reallocated item.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |