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

Function lean_ctor_get_uint64

lean_py/_runtime.py:517–519  ·  view source on GitHub ↗
(self, o, byte_offset)

Source from the content-addressed store, hash-verified

515 ctypes.cast(addr, POINTER(c_uint32))[0] = val
516
517 def lean_ctor_get_uint64(self, o, byte_offset):
518 addr = self.lean_ctor_scalar_addr(o, byte_offset)
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected