Queue.pushNth
void pushNth(void * data, int n)Inserts a new element into queue at the given position.
Parameters
data | the data for the new element |
n | the position to insert the new element. If n is negative or larger than the number of elements in the queue, the element is added to the end of the queue. |