Skip to main content

alloc_closure

Function alloc_closure 

Source
pub unsafe fn alloc_closure(
    function: *const (),
    arity: u32,
    num_fixed: u32,
) -> Obj
Expand description

A closure of function, which takes arity objects and returns an object, with room for num_fixed arguments that closure_set must fill.