ListClear

void ListClear (ListType listToClear);

Purpose

This function removes every item from a list.

The memory used by the removed items is saved to be reused when new items are inserted in the list (see ListCompact).

Parameters

Input
Name Type Description
listToClear ListType The list to clear all of the items from.

Return Value

None.