| parrotcode: Tcl Array PMC | |
| Contents | Dynamic PMCs | 

dynclasses/tclarray.pmc - Tcl Array PMC

This is the Array PMC for the Tcl implementation.

static STRING *make_hash_key(Interp *interpreter, PMC *key)*key.void class_init()void init()void mark()INTVAL type_keyed_str(STRING *key)*key.INTVAL type_keyed (PMC *key)*key.PMC *clone()INTVAL get_integer()INTVAL get_integer_keyed_str(STRING *key)INTVAL get_integer_keyed(PMC *key)*key.FLOATVAL get_number_keyed_str(STRING *key)FLOATVAL get_number_keyed(PMC *key)*key.BIGNUM *get_bignum_keyed_str(STRING *key)BIGNUM *get_bignum_keyed(PMC *key)*key.STRING *get_string()STRING *get_string_keyed_str(STRING *key)STRING *get_string_keyed(PMC *key)*key.INTVAL get_bool()INTVAL elements()PMC *get_pmc_keyed_str(STRING *key)PMC *get_pmc_keyed(PMC *key)*key.INTVAL is_same(PMC *other)*other.void set_integer_keyed(PMC *key, INTVAL value)void set_integer_keyed_str(STRING *key, INTVAL value)void set_number_keyed (PMC *key, FLOATVAL value)void set_number_keyed_str(STRING *key, FLOATVAL value)value as the value for *key.void set_bignum_keyed(PMC *key, BIGNUM *value)void set_bignum_keyed_str(STRING *key, BIGNUM *value)void set_string_keyed(PMC *key, STRING *value)void set_string_keyed_str(STRING *key, STRING *value)void set_pmc_keyed(PMC *dest_key, PMC *value)void set_pmc_keyed_str(STRING *key, PMC *value)*value as the value for *key.INTVAL is_equal(PMC *value)== operation.*value is ignored.INTVAL exists_keyed_str(STRING *key)INTVAL exists_keyed(PMC *key)*key exists in the hash.INTVAL defined_keyed_str(STRING *key)INTVAL defined_keyed(PMC *key)*key is defined.void delete_keyed_str(STRING *key)void delete_keyed(PMC *key)*key.PMC *nextkey_keyed(PMC *key, INTVAL what)what.void visit(visit_info *info)void freeze(visit_info *info)void thaw(visit_info *info)
|  |   |