Lines Matching refs:list
1 /* Generic single linked list to keep various information
50 list_remove_head (struct objc_list** list)
52 if ((*list)->tail)
55 struct objc_list* tail = (*list)->tail;
57 /* Copy next to list head. */
58 *(*list) = *tail;
65 /* Inly one element in list. */
66 objc_free (*list);
67 (*list) = 0;
74 list_mapcar (struct objc_list* list, void(*function)(void*))
76 while (list)
78 (*function) (list->head);
79 list = list->tail;
83 /* Free list (backwards recursive). */
85 list_free (struct objc_list* list)
87 if(list)
89 list_free (list->tail);
90 objc_free (list);