| 590 | */ |
| 591 | |
| 592 | void * /* O - N-th element or @code NULL@ */ |
| 593 | cupsArrayIndex(cups_array_t *a, /* I - Array */ |
| 594 | int n) /* I - Index into array, starting at 0 */ |
| 595 | { |
| 596 | if (!a) |
| 597 | return (NULL); |
| 598 | |
| 599 | a->current = n; |
| 600 | |
| 601 | return (cupsArrayCurrent(a)); |
| 602 | } |
| 603 | |
| 604 | |
| 605 | /* |
no test coverage detected