NAME ^

classes/resizableintegerarray.pmc - resizable size array for integers only

DESCRIPTION ^

This class, ResizableIntegerArray, implements an array of resizable size, which stored INTVALs, it uses Integer 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 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/pdd03_calling_conventions.pod.

HISTORY ^

Initial version 2004.06.11 by Matt Fowles Changed allocator to double size - MF 2004.06.15


parrot