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

Function leanpy_make_callable_kw

LeanPy/native/python_bridge.c:1052–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1050 self->closure = closure; /* owned */
1051 self->has_kw = has_kw;
1052 return lean_io_result_mk_ok(wrap_pyobject(instance));
1053}
1054
1055LEAN_EXPORT lean_obj_res leanpy_make_callable(lean_obj_arg closure, lean_obj_arg world) {
1056 (void)world;
1057 return make_callable_obj(closure, 0);
1058}

Callers

nothing calls this directly

Calls 1

make_callable_objFunction · 0.85

Tested by

no test coverage detected