FAQ: how to vary the byte offset of a field of a ctypes.Structure
p.lavarre at ieee.org
p.lavarre at ieee.org
Thu May 31 22:27:24 EDT 2007
I see that changing self._fields_ doesn't change ctypes.sizeof(self).
I guess ctypes.Structure.__init__(self) fetches
self.__class__._fields_ not self._fields_.
More information about the Python-list
mailing list