ListCompact

void ListCompact (ListType listToCompact);

Purpose

This function re–allocates a list so that it only uses just enough memory to hold its current items.

Doing this will force a re–allocation the next time an item is added to the list, hurting performance.

It is unlikely that you will want to call this function.

Parameters

Input
Name Type Description
listToCompact ListType The list whose unused space is to be freed

Return Value

None.