gdl_nth 3 | 2016-03-06 | genlist manual |
---|
gdl_nth - retrieve a pointer to the nth element of a list
void gdl_nth(gdl_list_t *list, int n, itemtype **result)
gdl_nth retrieve the nth element of the list and write its pointer to result.The call is implemented as function-like macro.
Arguments:
list A list to query. May not be NULL. n An integer offset (the "n" part in the "nth"). result A pointer to an element-pointer; it will be loaded with NULL or with the pointer of the resulting element.
gdl_nth 3 | 2016-03-06 | genlist manual |
---|