parrotcode: Subroutines | |
Contents | C |
src/sub.c - Subroutines
Subroutines, continuations, co-routines and other fun stuff...
mark_context
*ctx
.new_sub
Parrot_sub
.new_closure
Parrot_sub
with its own sctatchpad.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.new_ret_continuation
Parrot_cont
pointing to the current context.new_coroutine
Parrot_coro
.new_ret_continuation_pmc
RetContinuation
PMC.
Uses one from the cache,
if possible; otherwise,
creates a new one.invalidate_retc_context
Parrot_full_sub_name
Parrot_find_pad
include/parrot/sub.h.
Initial version by Melvin on 2002/06/6.
|