Gets the element at the given position in a GList
This iterates over the list until it reaches the n-th position. If you intend to iterate over every element, it is better to use a for-loop as described in the GList introduction.
the position of the element, counting from 0
the element, or NULL if the position is off the end of the GList
Gets the element at the given position in a GList
This iterates over the list until it reaches the n-th position. If you intend to iterate over every element, it is better to use a for-loop as described in the GList introduction.