C4 Engine
C4 Engine API Documentation

List::RemoveListElement

Defined in:  TSList.h
Removes a particular element from a list.
Prototype

void RemoveListElement(ListElement<type> *element);

Parameters
element A pointer to the object to remove from the list.
Description
The RemoveListElement function removes the object specified by the element parameter from a list. The object must belong to the list for which the RemoveListElement function is called, or the internal links will become corrupted.
See Also

List::RemoveAllListElements

List::PurgeList

ListElement::Detach