MCPcopy Create free account
hub / github.com/digama0/lean-sys / lean_string_length

Function lean_string_length

src/string.rs:53–55  ·  view source on GitHub ↗
(o: b_lean_obj_arg)

Source from the content-addressed store, hash-verified

51
52#[inline(always)]
53pub unsafe fn lean_string_length(o: b_lean_obj_arg) -> lean_obj_res {
54 lean_box(lean_string_len(o))
55}
56
57#[inline]
58pub unsafe fn lean_string_utf8_at_end(s: b_lean_obj_arg, i: b_lean_obj_arg) -> u8 {

Callers

nothing calls this directly

Calls 2

lean_boxFunction · 0.85
lean_string_lenFunction · 0.85

Tested by

no test coverage detected