(s: b_lean_obj_arg, i: b_lean_obj_arg)
| 98 | |
| 99 | #[inline(always)] |
| 100 | pub unsafe fn lean_string_get_byte_fast(s: b_lean_obj_arg, i: b_lean_obj_arg) -> u8 { |
| 101 | let str = lean_string_cstr(s); |
| 102 | let idx = lean_unbox(i); |
| 103 | *str.add(idx) |
| 104 | } |
| 105 | |
| 106 | #[inline(always)] |
| 107 | pub unsafe fn lean_string_utf8_next_fast(s: b_lean_obj_arg, i: b_lean_obj_arg) -> lean_obj_res { |
nothing calls this directly
no test coverage detected