Admin Production ni-theme
Current Publication

ListCompact

LabWindows/CVI

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.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later