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

Function lean_array_uget

src/array/high_level.rs:30–34  ·  view source on GitHub ↗
(a: b_lean_obj_arg, i: usize)

Source from the content-addressed store, hash-verified

28
29#[inline]
30pub unsafe fn lean_array_uget(a: b_lean_obj_arg, i: usize) -> lean_obj_res {
31 let r = lean_array_get_core(a, i);
32 lean_inc(r);
33 r
34}
35
36#[inline(always)]
37pub unsafe fn lean_array_fget(a: b_lean_obj_arg, i: b_lean_obj_arg) -> lean_obj_res {

Callers 2

lean_array_fgetFunction · 0.85
lean_array_getFunction · 0.85

Calls 2

lean_array_get_coreFunction · 0.85
lean_incFunction · 0.85

Tested by

no test coverage detected