rax_type_tuple_a_tfield_ref

rax_tfield_t *rax_type_tuple_a_tfield_ref(rax_type_t tuple_type);
 

Return a pointer to the array of tuple fields. The array is returned by reference, no copy is made. The caller does not need to free the returned array.

Example: 

             tfield_t *fields = rax_type_tuple_a_tfield_ref(t_tuple);
    for (i = 0; i < rax_type_tuple_n_tfield; i++) {
      tfield_t f = fields[i];
      // Do something with f.label and f.type
    }