MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / lean_dec

Function lean_dec

lean_py/_runtime.py:410–412  ·  view source on GitHub ↗
(self, o)

Source from the content-addressed store, hash-verified

408 self.lean_inc_ref_n(o, n)
409
410 def lean_dec(self, o):
411 if not self.lean_is_scalar(o):
412 self.lean_dec_ref(o)
413
414 def lean_is_ctor(self, o):
415 return self.lean_ptr_tag(o) <= constants.get("LeanMaxCtorTag", 243)

Callers 6

leanpy_keep_aliveFunction · 0.85
leanpy_decFunction · 0.85
leancallable_deallocFunction · 0.85
leancallable_callFunction · 0.85
make_callable_objFunction · 0.85
lean_obj_handle_deallocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected