Remove items in a list at specific positions
int PtListRemovePositions( PtWidget_t *widget, const unsigned short *pos_list, int pos_count );
This function deletes the item at each position specified in the array pos_list. The first item in the widget has a position of 1, not 0. The pos_count argument specifies the number of entries in the pos_list array.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtList, PtListDeleteAllItems(), PtListDeleteItemPos(), PtListDeleteItems()