NAME ^

classes/resizablebooleanarray.pmc - resizable array for booleans only

DESCRIPTION ^

This class, ResizableBooleanArray, implements an array of resizable size, which stores booleans. It uses Boolean PMCs for all of the conversions,

Functions ^

INTVAL get_integer_keyed_int(INTVAL key)

Returns the integer value of the element at index key.

void set_integer_keyed_int(INTVAL key, INTVAL value)

Sets the integer value of the element at index key to value.

void push_integer (INTVAL value)

Extends the array by adding an element of value value to the end of the array.

void set_integer_native(INTVAL size)

Resizes the array to size elements.

PMC *clone()

Creates and returns a copy of the array.

SEE ALSO ^

docs/pdds/pdd17_basic_types.pod.

HISTORY ^

Initial version - Matt Fowles 2004-06-11 Changed allocator to double size - Matt Fowles 2004-06-15 Added push_integer - Bernhard Schmalhofer 2004-10-17


parrot