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

Class _InternalStruct

src/pointers/structure.py:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 class _InternalStruct(ctypes.Structure):
91 _fields_ = [
92 (
93 name,
94 cls._get_type(get_mapped(typ), name),
95 )
96 for name, typ in cls._hints.items() # fmt: off
97 ]
98
99 cls._internal_struct = _InternalStruct
100

Callers

nothing calls this directly

Calls 3

get_mappedFunction · 0.85
_get_typeMethod · 0.80
itemsMethod · 0.45

Tested by

no test coverage detected