list_delete_element

Removes the list element.

bool list_delete_element(
    struct list_descriptor *const list,
    const void *const element
)

Parameters

list

Type: struct list_descriptor Struct *const

The pointer to a list

element

Type: const void *const

An element to remove

Returns

Type: bool

The result of element removing

true

The given element is removed from the given list

false

The given element is not an element of the given list