cf_list_begin¶
Category: list
GitHub: cute_doubly_list.h
Returns a pointer to the first node in the list.
Parameters | Description |
---|---|
List | The list. |
Code Example¶
Looping over a list with a for loop.
Remarks¶
Since the list is circular with a single dummy node it can be confusing to loop over. To help make this simpler, use cf_list_begin and cf_list_end to perform a loop over the list.
Related Pages¶
CF_ListNode
CF_List
CF_LIST_NODE
CF_LIST_HOST
cf_list_init_node
cf_list_init
cf_list_push_front
cf_list_push_back
cf_list_remove
cf_list_pop_front
cf_list_pop_back
cf_list_empty
cf_list_back
cf_list_end
cf_list_front