parrotcode: Perl Array | |
Contents | Language Implementations | Perl5 |
src/dynpmc/perlarray.pmc - Perl Array
These are the vtable functions for the PerlArray PMC.
static PMC *undef(Interp *interp)
PerlUndef
PMC.static PMC *Parrot_PerlArray_set_pmc_ptr(Interp *interp, List *list, INTVAL key)
key
.void set_integer_keyed_int(INTVAL key, INTVAL value)
value
to a PerlInt
and assigns it to the array at index key
.void set_integer_keyed(PMC *key, INTVAL value)
value
to the array at index *key
.void set_number_keyed_int(INTVAL key, FLOATVAL value)
value
to the array at index key
.void set_number_keyed(PMC *key, FLOATVAL value)
value
to the array at index *key
.void set_string_keyed_int(INTVAL key, STRING *value)
*value
to the array at index key
.void set_string_keyed(PMC *key, STRING *value)
*value
to the array at index *key
.void set_pmc_keyed_int(INTVAL key, PMC *src)
*src
to the array at index key
.void set_pmc_keyed(PMC *key, PMC *value)
*value
to the array at index *key
.INTVAL get_integer_keyed_int(INTVAL key)
key
.FLOATVAL get_number_keyed_int(INTVAL key)
key
.STRING *get_string()
STRING *get_string_keyed_int(INTVAL key)
key
.PMC *get_pmc_keyed_int(INTVAL key)
key
.Fix the arithmetic ops (right now they just corrupt the array length and possibly seg fault).
|