patch_seq_env_get_float

Function patch_seq_env_get_float 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_env_get_float( env_data: *const Value, env_len: usize, index: i32, ) -> f64
Expand description

Get a Float value from the closure environment

Returns f64 directly for efficient LLVM IR integration.

ยงSafety

  • env_data must be a valid pointer to an array of Values
  • env_len must match the actual array length
  • index must be in bounds [0, env_len)
  • The value at index must be Value::Float