(capacity: b_lean_obj_arg)
| 20 | |
| 21 | #[inline(always)] |
| 22 | pub unsafe fn lean_mk_empty_array_with_capacity(capacity: b_lean_obj_arg) -> *mut lean_object { |
| 23 | if !lean_is_scalar(capacity) { |
| 24 | lean_internal_panic_out_of_memory() |
| 25 | } |
| 26 | lean_alloc_array(0, lean_unbox(capacity)) |
| 27 | } |
| 28 | |
| 29 | #[inline] |
| 30 | pub unsafe fn lean_array_uget(a: b_lean_obj_arg, i: usize) -> lean_obj_res { |
nothing calls this directly
no test coverage detected