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

Function leanpy_alloc_ctor

LeanPy/native/python_bridge.c:167–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165/* ------------------------------------------------------------------ */
166
167LEAN_EXPORT lean_object * leanpy_alloc_ctor(unsigned tag, unsigned num_objs, unsigned scalar_sz) {
168 return lean_alloc_ctor(tag, num_objs, scalar_sz);
169}
170
171LEAN_EXPORT void leanpy_ctor_set(b_lean_obj_arg o, unsigned i, lean_obj_arg v) {
172 lean_ctor_set(o, i, v);

Callers

nothing calls this directly

Calls 1

lean_alloc_ctorFunction · 0.85

Tested by

no test coverage detected