parrotcode: Subroutines | |
Contents | C |
src/sub.c - Subroutines
Subroutines, continuations, co-routines and other fun stuff...
void mark_context
*ctx
.Parrot_sub *new_sub
Parrot_sub
.Parrot_sub *new_closure
Parrot_sub
with its own sctatchpad.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
.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
PMC *parrot_new_closure
include/parrot/sub.h.
Initial version by Melvin on 2002/06/6.
|