| 17 | |
| 18 | |
| 19 | class DummyInternalStruct(BaseStruct): |
| 20 | _fields_ = [ |
| 21 | ('X', ctypes.c_uint32) |
| 22 | ] |
| 23 | |
| 24 | # this is defined to let 'assertEqual' work as expected |
| 25 | def __eq__(self, other) -> bool: |
| 26 | return isinstance(other, DummyInternalStruct) and self.X == other.X |
| 27 | |
| 28 | |
| 29 | class DummyStruct(BaseStruct): |
no outgoing calls