Barrelfish
|
Barrelfish collections library list data structure. More...
Functions | |
void * | collections_list_remove_if (collections_listnode *start, collections_list_predicate p, void *key) |
uint32_t | collections_list_remove_if_all (collections_listnode *start, collections_list_predicate p, void *key) |
Barrelfish collections library list data structure.
void* collections_list_remove_if | ( | collections_listnode * | start, |
collections_list_predicate | p, | ||
void * | arg | ||
) |
Remove the first item that matches the given predicate and return it.
uint32_t collections_list_remove_if_all | ( | collections_listnode * | start, |
collections_list_predicate | p, | ||
void * | arg | ||
) |
Remove all the items that match the given predicate.