(self, size, capacity)
| 562 | return fn(tag, num_objs, scalar_sz) |
| 563 | |
| 564 | def lean_alloc_array(self, size, capacity): |
| 565 | fn = self._find_leanpy_helper("leanpy_alloc_array") |
| 566 | if fn is None: |
| 567 | raise RuntimeError("leanpy_alloc_array not found — leanpy_native not linked") |
| 568 | fn.argtypes = [c_size_t, c_size_t] |
| 569 | fn.restype = LeanObjectPtr |
| 570 | return fn(size, capacity) |
| 571 | |
| 572 | def lean_array_set_core(self, o, i, v): |
| 573 | arr_cls = structs.get("lean_array_object") |
no outgoing calls
no test coverage detected