parrotcode: resizable array for booleans only | |
Contents | PMCs |
src/pmc/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.
The ResizableBooleanArray PMC
extends the FixedBooleanArray PMC
.
INTVAL get_integer_keyed_int(INTVAL key)
key
.void set_integer_keyed_int(INTVAL key, INTVAL value)
key
to value
.void set_integer_native(INTVAL size)
size
elements.void push_integer(INTVAL size)
value
to the end.void pop_integer(INTVAL size)
void unshift_integer(INTVAL size)
value
to the beginning.void shift_integer(INTVAL size)
INTVAL elements()
INTVAL get_integer()
PMC *clone()
void freeze(visit_info *info)
void thaw(visit_info *info)
docs/pdds/pdd17_basic_types.pod.
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
Changed allocation code, added - Dino Morelli 2005-06-10 push_, pop_, shift_, unshift_integer, freeze, thaw
|