Skip to main content

lean_is_shared

Function lean_is_shared 

Source
pub unsafe fn lean_is_shared(o: *mut lean_object) -> bool
Expand description

True if o is single-threaded with refcount > 1 (lean.h:604–610).

§Safety

Same as lean_is_st.