parrotcode: Untitled | |
Contents | Dynamic PMCs |
static PMC *Parrot_TclList_set_pmc_ptr(Interp *interpreter, List *list, INTVAL key)
key
.static PMC *retval(Interp *interpreter, void *ret)
*ret
,
returning the appropriate PMC,
or raising an exception if necessary.void set_integer_keyed_int(INTVAL key, INTVAL value)
value
to a TclInt
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
.void unshift_integer(INTVAL value)
value
to the start of the array.void unshift_float(FLOATVAL value)
value
to the start of the array.void unshift_string(STRING *value)
*value
to the start of the array.Hey! The above document had some coding errors, which are explained below:
|