|
Serene Runtime 1.0.0
C runtime for the Serene programming language
|
#include <closures.h>
Data Fields | |
| srn_fnptr_t | fn |
| Entry point on the closure, duh! | |
| srn_context_t * | ctx |
| The context in which this closure is defined. | |
| uint32_t | arity |
| How many args are needed for full application. | |
Definition at line 27 of file closures.h.
| uint32_t srn_closure_t::arity |
How many args are needed for full application.
((uint32_t) -1) means variadic
Definition at line 35 of file closures.h.
| srn_context_t* srn_closure_t::ctx |
The context in which this closure is defined.
Context contains the environment for fn's free bindings too.
Definition at line 32 of file closures.h.
| srn_fnptr_t srn_closure_t::fn |
Entry point on the closure, duh!
Definition at line 29 of file closures.h.