(capacity: b_lean_obj_arg)
| 3 | |
| 4 | #[inline] |
| 5 | pub unsafe fn lean_mk_empty_float_array(capacity: b_lean_obj_arg) -> lean_obj_res { |
| 6 | if !lean_is_scalar(capacity) { |
| 7 | lean_internal_panic_out_of_memory() |
| 8 | } |
| 9 | lean_alloc_sarray( |
| 10 | core::mem::size_of::<f64>() as c_uint, |
| 11 | 0, |
| 12 | lean_unbox(capacity), |
| 13 | ) |
| 14 | } |
| 15 | |
| 16 | #[inline(always)] |
| 17 | pub unsafe fn lean_float_array_size(a: b_lean_obj_arg) -> lean_obj_res { |
nothing calls this directly
no test coverage detected