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

Function leanpy_box_uint64

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

Source from the content-addressed store, hash-verified

193LEAN_EXPORT lean_object * leanpy_box(size_t v) { return lean_box(v); }
194LEAN_EXPORT size_t leanpy_unbox(b_lean_obj_arg o) { return lean_unbox(o); }
195LEAN_EXPORT lean_object * leanpy_box_uint64(uint64_t v) { return lean_box_uint64(v); }
196LEAN_EXPORT uint64_t leanpy_unbox_uint64(b_lean_obj_arg o) { return lean_unbox_uint64(o); }
197LEAN_EXPORT lean_object * leanpy_box_float(double v) { return lean_box_float(v); }
198LEAN_EXPORT double leanpy_unbox_float(b_lean_obj_arg o) { return lean_unbox_float(o); }

Callers

nothing calls this directly

Calls 1

lean_box_uint64Function · 0.85

Tested by

no test coverage detected