parrotcode: Base vtable calling functions | |
Contents | C |
src/key.c - Base vtable calling functions
The base vtable calling functions.
PMC *key_new
Key
PMC.PMC *key_new_integer
Key
PMC with value value
.PMC *key_new_number
Key
PMC with value value
.PMC *key_new_string
Key
PMC with value value
.PMC *key_new_cstring
Key
PMC with value value
converted to a STRING
.PMC *key_new_pmc
Key
PMC with value value
.void key_set_integer
value
in key
.void key_set_register
value
in key
.void key_set_number
value
in key
.void key_set_string
value
in key
.void key_set_pmc
value
in key
.INTVAL key_type
key
.INTVAL key_integer
FLOATVAL key_number
STRING *key_string
PMC *key_pmc
key
if possible.
Otherwise they throws an exceptions.PMC *key_next
key
is in a sequence of linked keys.PMC *key_append
key2
to key1
.key1
is not the last key in a sequence linked keys then the last key will be found and key2
appended to that.key1
.void key_mark
key
as live.STRING *key_set_to_string
include/parrot/key.h.
Initial version by Jeff G. on 2001.12.05.
|