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

Function lean_ctor_get_uint32

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

Source from the content-addressed store, hash-verified

507 ctypes.cast(addr, POINTER(c_uint16))[0] = val
508
509 def lean_ctor_get_uint32(self, o, byte_offset):
510 addr = self.lean_ctor_scalar_addr(o, byte_offset)
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected