MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / deref

Function deref

src/pointers/_utils.py:169–171  ·  view source on GitHub ↗

Get the value at the target address.

(address: int)

Source from the content-addressed store, hash-verified

167
168
169def deref(address: int) -> Any:
170 """Get the value at the target address."""
171 return ctypes.cast(address, ctypes.py_object).value

Callers 4

__init__Method · 0.85
dereferenceMethod · 0.85
dereferenceMethod · 0.85
dereferenceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected