def unpack_tuple(builder, tup, count=None):
 if (count is None):
  count = len(tup.type.elements)
 vals = [builder.extract_value(tup, i) for i in range(count)]
 return vals

def unpack_tuple ( builder , tup , count = None ) : if ( count is None ) : count = len ( tup . type . elements ) vals = [ builder . extract_value ( tup , i ) for i in range ( count ) ] return vals
unpack an array or structure of values .