Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeroIntensity/pointers.py
/ dereference
Method
dereference
src/pointers/c_pointer.py:47–49 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
45
46
@handle
47
def
dereference(self) -> Optional[int]:
48
deref = ctypes.c_void_p.from_address(self.ensure())
49
return
deref.value
50
51
def
__repr__(self) -> str:
52
return
f
"VoidPointer(address={self.address}, size={self.size})"
Callers
nothing calls this directly
Calls
1
ensure
Method · 0.45
Tested by
no test coverage detected