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

Function lean_py_false

LeanPy/native/python_bridge.c:466–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464
465LEAN_EXPORT lean_obj_res lean_py_none(lean_obj_arg unit, lean_obj_arg world) {
466 (void)world; ENSURE_INIT(); WITH_GIL();
467 p_Py_IncRef(p_Py_None);
468 return lean_io_result_mk_ok(wrap_pyobject(p_Py_None));
469}
470LEAN_EXPORT lean_obj_res lean_py_true(lean_obj_arg unit, lean_obj_arg world) {
471 (void)world; ENSURE_INIT(); WITH_GIL();
472 p_Py_IncRef(p_Py_True);
473 return lean_io_result_mk_ok(wrap_pyobject(p_Py_True));

Callers

nothing calls this directly

Calls 1

wrap_pyobjectFunction · 0.85

Tested by

no test coverage detected