NAME

src/pmc/context.pmc - Interpreter Context.

DESCRIPTION

Stores context of execution. Currently we store pointer to Parrot_Context structure in PMC_data.

Vtable Functions

void init()
Initialize new Context. See Parrot_alloc_context.
void mark()
Mark Context as alive.
void destroy()
Destroy Context and memory allocated by Parrot_alloc_context.
void *get_pointer()
Return pointer to underlying Parrot_Context structure.
void set_pointer(void *)
Set new Parrot_Context structure.