| parrotcode: Subroutines | |
| Contents | C |

src/sub.c - Subroutines

Subroutines, continuations, co-routines and other fun stuff...

mark_context*ctx.new_subParrot_sub.new_closureParrot_sub with its own sctatchpad.new_continuationParrot_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_continuationParrot_cont pointing to the current context.new_coroutineParrot_coro.new_ret_continuation_pmcRetContinuation PMC.
Uses one from the cache,
if possible; otherwise,
creates a new one.invalidate_retc_contextParrot_full_sub_nameParrot_find_pad
include/parrot/sub.h.

Initial version by Melvin on 2002/06/6.
|
|
|