patch_seq_env_set

Function patch_seq_env_set 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_env_set( env: *mut [Value], index: i32, value: Value, )
Expand description

Set a value in the closure environment

Called from generated LLVM code to populate captured values.

ยงSafety

  • env must be a valid pointer from create_env
  • index must be in bounds [0, size)
  • env must not have been passed to make_closure yet