(o: u_lean_obj_arg, i: usize, v: lean_obj_arg)
| 54 | |
| 55 | #[inline(always)] |
| 56 | pub unsafe fn lean_array_set_core(o: u_lean_obj_arg, i: usize, v: lean_obj_arg) { |
| 57 | debug_assert!(!lean_has_rc(o) || lean_is_exclusive(o)); |
| 58 | debug_assert!(i < lean_array_size(o)); |
| 59 | (raw_field!(lean_to_array(o), lean_array_object, m_data) as *mut *mut lean_object) |
| 60 | .add(i) |
| 61 | .write(v) |
| 62 | } |
| 63 | |
| 64 | extern "C" { |
| 65 | pub fn lean_array_mk(l: lean_obj_arg) -> *mut lean_object; |
nothing calls this directly
no outgoing calls
no test coverage detected