MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / raw_type

Function raw_type

src/pointers/util.py:50–52  ·  view source on GitHub ↗

Set a raw ctypes type for a struct.

(ct: Type["ctypes._CData"])

Source from the content-addressed store, hash-verified

48
49
50def raw_type(ct: Type["ctypes._CData"]) -> Any:
51 """Set a raw ctypes type for a struct."""
52 return RawType(ct)
53
54
55def stop_handler() -> None:

Callers 2

BufferClass · 0.85
VarObjectClass · 0.85

Calls 1

RawTypeClass · 0.85

Tested by

no test coverage detected