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

Function leanpy_int64_of_int

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

Source from the content-addressed store, hash-verified

200LEAN_EXPORT lean_object * leanpy_int_to_int(int n) { return lean_int_to_int(n); }
201LEAN_EXPORT lean_object * leanpy_int64_to_int(int64_t n) { return lean_int64_to_int(n); }
202LEAN_EXPORT int64_t leanpy_int64_of_int(b_lean_obj_arg o) { return lean_int64_of_int(o); }
203LEAN_EXPORT lean_object * leanpy_uint64_to_nat(uint64_t n) { return lean_uint64_to_nat(n); }
204LEAN_EXPORT uint64_t leanpy_uint64_of_nat(b_lean_obj_arg o) { return lean_uint64_of_nat(o); }
205

Callers

nothing calls this directly

Calls 1

lean_int64_of_intFunction · 0.85

Tested by

no test coverage detected