Functions | |
EAPI Evas_List * | evas_list_remove (Evas_List *list, const void *data) |
Removes the first instance of the specified data from the given list. | |
EAPI Evas_List * | evas_list_remove_list (Evas_List *list, Evas_List *remove_list) |
Removes the specified data. | |
EAPI Evas_List * | evas_list_free (Evas_List *list) |
Free an entire list and all the nodes, ignoring the data contained. |
Free an entire list and all the nodes, ignoring the data contained.
list | The list to free |
list
.Example:
extern Evas_List *list; list = evas_list_free(list);
Removes the first instance of the specified data from the given list.
If the specified data is not in the given list, nothing is done.
list | The given list. | |
data | The specified data. |
Removes the specified data.
Remove a specified member from a list
list | The list handle to remove remove_list from | |
remove_list | The list node which is to be removed |
remove_list
and removes it from the list list
, freeing the list node structure remove_list
.Example:
extern Evas_List *list; Evas_List *l; extern void *my_data; for (l = list; l; l= l->next) { if (l->data == my_data) { list = evas_list_remove_list(list, l); break; } }