QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Reallocate memory for an item
PtGenListItem_t *PtGenListItemRealloc( PtGenListItem_t *item, PtWidget_t *list, size_t size );
This function isn't used by the PtGenList widget itself. It may be used to reallocate memory if the item was allocated using malloc().
The given size should include the size of the PtGenListItem_t structure. If the item is moved to a different address by the realloc() function, PtGenListItemRealloc() repairs the list links.
A pointer to the reallocated item.