#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_env_push_value(
stack: Stack,
env_data: *const Value,
env_len: usize,
index: i32,
) -> StackExpand description
Push any value from the closure environment onto the stack.
This is the generic capture-push function for types that don’t have specialized getters (Variant, Map, Union, Symbol, Channel). It clones the Value from the env and pushes it directly, avoiding passing Value by value through the FFI boundary (which crashes on Linux for some types).
§Safety
stackmust be a valid stack pointerenv_datamust be a valid pointer to a Value arrayenv_lenmust match the actual array lengthindexmust be in bounds [0, env_len)