C4 Engine
C4 Engine API Documentation

List::PurgeList

Defined in:  TSList.h
Deletes all elements in a list.
Prototype

void PurgeList(void);

Description
The PurgeList function deletes all objects contained in a list. The list is subsequently empty. To remove all elements of a list without destroying them, use the List::RemoveAllListElements function.
See Also

List::RemoveListElement

List::RemoveAllListElements

ListElement::Detach