parrotcode: Native Call Interface | |
Contents | PMCs |
src/pmc/nci.pmc - Native Call Interface
The vtable functions for the native C call functions.
Invoking an NCI function changes some registers according to PDD 3.
The caller has to preserve registers if needed.
METHOD PMC *get_multisig()
METHOD PMC *set_raw_nci_ptr(void *func)
void init()
NULL
function pointer.void set_pointer_keyed_str(STRING *key, void *func)
*key
).void destroy()
PMC *clone()
INTVAL defined()
opcode_t *invoke(void *next)
*next
.
If the invocant is a class,
the PMC arguments are shifted down.INTVAL get_integer()
INTVAL get_bool()
docs/pdds/pdd03_calling_conventions.pod.
Initial revision by sean 2002/08/04.
|