C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

List::Purge

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

void Purge(void);

Description
The Purge 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::RemoveAll function.
See Also

List::Remove

List::RemoveAll

ListElement::Detach