NAME ^

classes/tcllist.pmc - Tcl List

DESCRIPTION ^

These are the vtable functions for the TclList base class

Methods ^

void class_init()

Class initialization. Caches the type id of various PMCs.

STRING *get_string()

Returns the list as a string

void set_integer_keyed_int (INTVAL key, INTVAL value)

Sets the integer value of the PMC at element key to value.

XXX Should probably have String and Float variants, though this isn't tested.

void set_pmc_keyed_int(INTVAL key, PMC *src)

Assigns *src to the array at index key.

XXX why do we need to override this ?


parrot