Public Member Functions | |
None | __init__ (self, obj) |
def | __iter__ (self) |
def | __next__ (self) |
Protected Attributes | |
_obj | |
_index | |
_end | |
Used to iterate through a ctypes structure or union. This iterator returns a tuple of three elements: <field_name>, <field_contents>, <field_info> Of course field_info is a tuple of varying size depending on how the field was defined (arrays, bitfields, etc)