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

Function lean_py_of_bool

LeanPy/native/python_bridge.c:476–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475LEAN_EXPORT lean_obj_res lean_py_false(lean_obj_arg unit, lean_obj_arg world) {
476 (void)world; ENSURE_INIT(); WITH_GIL();
477 p_Py_IncRef(p_Py_False);
478 return lean_io_result_mk_ok(wrap_pyobject(p_Py_False));
479}
480
481/* ------------------------------------------------------------------ */
482/* Conversions: Lean → Python */

Callers

nothing calls this directly

Calls 1

ok_owned_or_errFunction · 0.85

Tested by

no test coverage detected