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 17:33:32 EDT 2007


ctypes.sizeof(a) is still zero, as if ctypes.Structure.__init__
fetches a.__class__._fields_ rather than a._fields_




More information about the Python-list mailing list