Contents

setCapacityIncrement

Sets the storage increment of the array.

Declaration

virtual unsigned int setCapacityIncrement(
 unsigned increment);

Return Value

The original storage increment of the array.

Overview

An OSArray allocates storage for objects in multiples of the capacity increment.

OSData objects created or initialized to use a shared buffer do not make use of this attribute.

See Also

Miscellaneous