parrotcode: Subroutines | |
Contents | C |
src/sub.c - Subroutines
Subroutines, continuations, co-routines and other fun stuff...
void mark_context_start
void mark_context
*ctx
.
Parrot_sub *new_sub
Parrot_sub
.
Parrot_sub *new_closure
Parrot_sub
with its own sctatchpad.XXX: Need to document semantics in detail.
Parrot_cont *new_continuation
Parrot_cont
to the context of to
with its own copy of the current interpreter context.
If to
is NULL
,
then the to_ctx
is set to the current context.
Parrot_cont *new_ret_continuation
Parrot_cont
pointing to the current context.
Parrot_coro *new_coroutine
Parrot_coro
.XXX: Need to document semantics in detail.
PMC *new_ret_continuation_pmc
RetContinuation
PMC.
Uses one from the cache,
if possible; otherwise,
creates a new one.
void invalidate_retc_context
STRING *Parrot_full_sub_name
int Parrot_Context_get_info
STRING *Parrot_Context_infostr
PMC *Parrot_find_pad
void Parrot_capture_lex
PMC *parrot_new_closure
void Parrot_continuation_check
void Parrot_continuation_rewind_environment
Parrot_sub *Parrot_get_sub_pmc_from_subclass
include/parrot/sub.h.
Initial version by Melvin on 2002/06/6.
|