from ctypes import * class r( BigEndianStructure ): _fields_ = [( "d0", c_uint32), ( "d1", c_bool ) ]