Find the index of an item
int PtGenListItemIndex(
PtWidget_t const *list,
PtGenListItem_t const *item );
This function calculates the index of the given item within the list. The index of the first item is 1.
The index of the given item.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |