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

Function lean_string_data_byte_size

src/string.rs:48–50  ·  view source on GitHub ↗
(o: *mut lean_object)

Source from the content-addressed store, hash-verified

46
47#[inline(always)]
48pub unsafe fn lean_string_data_byte_size(o: *mut lean_object) -> usize {
49 core::mem::size_of::<lean_string_object>() + lean_string_size(o)
50}
51
52#[inline(always)]
53pub unsafe fn lean_string_length(o: b_lean_obj_arg) -> lean_obj_res {

Callers

nothing calls this directly

Calls 1

lean_string_sizeFunction · 0.85

Tested by

no test coverage detected