parrotcode: resizable size array for floating point | |
Contents | PMCs |
classes/resizablefloatarray.pmc - resizable size array for floating point numbers only
This class,
ResizableFloatArray
,
implements an array of resizable size,
which stores FLOATVALs.
It uses Float PMCs to do all necessary conversions.
FLOATVAL get_number_keyed_int(INTVAL key)
key
.void set_number_keyed_int(INTVAL key, FLOATVAL value)
key
to value
.void set_integer_native(INTVAL size)
size
elements.PMC *clone()
void push_float(FLOATVAL value)
value
to the end of the array.FLOATVAL pop_float()
docs/pdds/pdd03_calling_conventions.pod.
Initial version 2004.06.11 by Matt Fowles Changed allocator to double size - MF 2004.06.15
|