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

Function lean_ctor_set_uint8

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

Source from the content-addressed store, hash-verified

495 return ctypes.cast(addr, POINTER(c_uint8)).contents.value
496
497 def lean_ctor_set_uint8(self, o, byte_offset, val):
498 addr = self.lean_ctor_scalar_addr(o, byte_offset)
499 ctypes.cast(addr, POINTER(c_uint8))[0] = val
500
501 def lean_ctor_get_uint16(self, o, byte_offset):
502 addr = self.lean_ctor_scalar_addr(o, byte_offset)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected