| parrotcode closure PMC | |
| Docs | FAQ | Download | Examples | Talks | Resources | Perl 6 | Languages | Who's Who | Donors | Cage Cleaners | Wiki | |
src/pmc/closure.pmc - Closure PMC
This class implements a closure, i.e. a subroutine which take a context structure.
void init()Initializes the closure.
void mark()Marks the closure as live.
void set_pointer(void *value)Sets the address to the closure entry.
opcode_t *invoke(void *next)Invokes the closure.
void destroy()Destroys the closure. This is necessary in order to reclaim the context.
Initial version by Leo.
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|