#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_env_get_bool(
env_data: *const Value,
env_len: usize,
index: i32,
) -> i64Expand description
Get a Bool value from the closure environment
Returns i64 (0 for false, 1 for true) to match LLVM IR representation. Bools are stored as i64 in the generated code for simplicity.
ยง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::Bool