class FFITuple(ctypes.Structure):
    _fields_ = [('a', ctypes.c_uint32), ('b', ctypes.c_uint32)]


class FFIArray(ctypes.Structure):
    _fields_ = [('data', ctypes.c_void_p), ('len', ctypes.c_size_t)]

@classmethod
def from_param(cls, seq):
    return cls(seq)

def __init__(self, seq, data_type=ctypes.c_uint32):
    pass
Convert Rust vector of tuples to a C compatible structure