Skip to main content

lean_closure_set

Function lean_closure_set 

Source
pub unsafe fn lean_closure_set(o: u_lean_obj_arg, i: u32, a: lean_obj_arg)
Expand description

Write the i-th captured argument (lean.h:782).

ยงSafety

o must be a unique Lean closure object, i < num_fixed(o), and the caller transfers ownership of a.