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

Function lean_string_size

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

Source from the content-addressed store, hash-verified

36
37#[inline(always)]
38pub unsafe fn lean_string_size(o: b_lean_obj_arg) -> usize {
39 *raw_field!(lean_to_string(o), lean_string_object, m_size)
40}
41
42#[inline(always)]
43pub unsafe fn lean_string_len(o: b_lean_obj_arg) -> usize {

Callers 5

lean_string_utf8_at_endFunction · 0.85
lean_string_eqFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected