| parrotcode: Parrot Interpreter | |
| Contents | PMCs |

src/pmc/parrotinterpreter.pmc - Parrot Interpreter

These are the vtable functions for the ParrotInterpreter base class
getinterp P0
set P1, P0[.IGLOBALS_*] # access interpreter globals
set I0, P0[x] # interpinfo I0, x
set I0, P0[-1] # get interpreter flags
set P0[-1], x # set flags on interpreter
# NOTE: this doesn't restart

void clone_interpreter(Parrot_Interp dest, const Parrot_Interp source, INTVAL flags)static void create_interp(PMC *self, Parrot_Interp parent)parent.
void class_init()void init()void init_pmc(PMC *parent)*parent if parent is a ParrotInterpreter instance. Otherwise takes the thread ID from parent and uses that thread.void set_pointer(void *value)struct_val to *value.void *get_pointer()struct_val.INTVAL get_integer()INTVAL is_equal(PMC *val)*val.void visit(visit_info *info)*info is the visit info, (see include/parrot/pmc_freeze.h).void freeze(visit_info *info)void thaw(visit_info *info)void thawfinish(visit_info *info)
|
|
|