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

Function lean_ctor_set_uint64

lean_py/_runtime.py:521–523  ·  view source on GitHub ↗
(self, o, byte_offset, val)

Source from the content-addressed store, hash-verified

519 return ctypes.cast(addr, POINTER(c_uint64)).contents.value
520
521 def lean_ctor_set_uint64(self, o, byte_offset, val):
522 addr = self.lean_ctor_scalar_addr(o, byte_offset)
523 ctypes.cast(addr, POINTER(c_uint64))[0] = val
524
525 def lean_array_size(self, o):
526 arr_cls = structs.get("lean_array_object")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected