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

Function lean_ctor_set_uint32

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

Source from the content-addressed store, hash-verified

511 return ctypes.cast(addr, POINTER(c_uint32)).contents.value
512
513 def lean_ctor_set_uint32(self, o, byte_offset, val):
514 addr = self.lean_ctor_scalar_addr(o, byte_offset)
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected