(capacity: b_lean_obj_arg)
| 3 | |
| 4 | #[inline] |
| 5 | pub unsafe fn lean_mk_empty_byte_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(1, 0, lean_unbox(capacity)) |
| 10 | } |
| 11 | |
| 12 | #[inline(always)] |
| 13 | pub unsafe fn lean_byte_array_size(a: b_lean_obj_arg) -> lean_obj_res { |
nothing calls this directly
no test coverage detected