static PMC *Parrot_TclList_set_pmc_ptr(Interp *interpreter, List *list, INTVAL key)

Returns the PMC pointer for the element at index key.

static PMC *retval(Interp *interpreter, void *ret)

Processes *ret, returning the appropriate PMC, or raising an exception if necessary.

Methods ^

void set_integer_keyed_int(INTVAL key, INTVAL value)

Converts value to a TclInt and assigns it to the array at index key.

void set_integer_keyed(PMC *key, INTVAL value)

Assigns value to the array at index *key.

void set_number_keyed_int(INTVAL key, FLOATVAL value)

Assigns value to the array at index key.

void set_number_keyed(PMC *key, FLOATVAL value)

Assigns value to the array at index *key.

void set_string_keyed_int(INTVAL key, STRING *value)

Assigns *value to the array at index key.

void set_string_keyed (PMC *key, STRING *value)

Assigns *value to the array at index *key.

void set_pmc_keyed_int(INTVAL key, PMC *src)

Assigns *src to the array at index key.

void set_pmc_keyed (PMC *key, PMC *value)

Assigns *value to the array at index *key.

INTVAL get_integer_keyed_int(INTVAL key)

Returns the integer value of the element at index key.

FLOATVAL get_number_keyed_int(INTVAL key)

Returns the floating-point value of the element at index key.

STRING *get_string()

Returns the number of elements in the array as a Parrot string.

STRING *get_string_keyed_int(INTVAL key)

Returns the Parrot string value of the element at index key.

PMC *get_pmc_keyed_int(INTVAL key)

Returns the PMC value of the element at index key.

void unshift_integer(INTVAL value)

Extends the array by adding an element of value value to the start of the array.

void unshift_float(FLOATVAL value)

Extends the array by adding an element of value value to the start of the array.

void unshift_string(STRING *value)

Extends the array by adding an element of value *value to the start of the array.

POD ERRORS ^

Hey! The above document had some coding errors, which are explained below:

Around line 30:

'=item' outside of any '=over'


parrot