gdl_remove 3 | 2016-03-06 | genlist manual |
---|
gdl_remove - remove an item from a list
void gdl_remove(gdl_list_t *list, itemtype *elem, fieldname *field)
gdl_remove removes elem from the list.The list must consists of items with the same link-offset; this is assured using field.
This call is implemented as function-like macros evaluating to void.
Arguments:
list A list of which elem should be removed from. May not be NULL. elem The element; pointer to a struct with complete type (fields known); may not be NULL. field Structure field name that is used for linking. The field must be of type gdl_elem_t (not a pointer).
gdl_remove 3 | 2016-03-06 | genlist manual |
---|