Replace specific items in a list
int PtListReplaceItems( PtWidget_t *widget, const char **old_items, const char **new_items, int item_count );
This function searches the entire list for each item in old_items. Every occurrence of each item found is replaced with the corresponding new_item. This operation continues until item_count is reached.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtList, PtListReplaceItemPos()