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

Function lean_ctor_get_uint16

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

Source from the content-addressed store, hash-verified

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)
503 return ctypes.cast(addr, POINTER(c_uint16)).contents.value
504
505 def lean_ctor_set_uint16(self, o, byte_offset, val):
506 addr = self.lean_ctor_scalar_addr(o, byte_offset)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected