parrotcode: resizable array for booleans only | |
Contents | PMCs |
classes/resizablebooleanarray.pmc - resizable array for booleans only
The ResizableBooleanArray PMC
implements an array of resizable size,
which stores booleans.
It uses the Boolean PMC
for all conversions.
ResizableBooleanArray PMC
extends FixedBooleanArray PMC
/*
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
tovalue
.
void set_integer_native(INTVAL size)
Resizes the array to
size
elements.
docs/pdds/pdd17_basic_types.pod.
Initial version - Matt Fowles 2004-06-11 Changed allocator to double size - Matt Fowles 2004-06-15
Hey! The above document had some coding errors, which are explained below:
|