parrotcode: Tcl List | |
Contents | Dynamic PMCs |
classes/tcllist.pmc - Tcl List
These are the vtable functions for the TclList base class
void class_init()
void init()
list_new()
function.INTVAL elements()
INTVAL get_integer()
PMC *get_pmc_keyed(PMC *key)
key
.PMC *get_pmc_keyed_int(INTVAL key)
key
.STRING *get_string()
void push_integer (INTVAL value)
value
to the end of the array.void push_pmc (PMC *value)
*value
to the end of the array.void push_string (STRING *value)
*value
to the end of the array.void set_integer_keyed_int (INTVAL key, INTVAL value)
key
to value
.void set_integer_native(INTVAL size)
size
.void set_pmc_keyed(PMC *key)
key
to *value
.void set_pmc_keyed_int(INTVAL key, PMC *src)
*src
to the array at index key
.void set_string_keyed_int(INTVAL key, STRING *value)
key
to value
.
|