1#ifndef REDUCT_CLOSURE_H
2#define REDUCT_CLOSURE_H 1
19#define REDUCT_CLOSURE_SMALL_MAX 4
25typedef struct reduct_closure
reduct_uint64_t reduct_handle_t
Handle type.
REDUCT_API reduct_closure_t * reduct_closure_new(struct reduct *reduct, reduct_function_t *function)
Allocate a new closure.
#define REDUCT_CLOSURE_SMALL_MAX
The maximum number of small constants.
REDUCT_API void reduct_closure_deinit(reduct_closure_t *closure)
Deinitialize a closure structure.
reduct_handle_t * constants
The array of constant slots forming the constant template.
reduct_function_t * function
Pointer to the prototype function item.
Compiled function structure.