tvm_tirx.tirx.abi_field_get

Contents

tvm_tirx.tirx.abi_field_get#

tvm_tirx.tirx.abi_field_get(arr, index, field, *, ty, loc=UNKNOWN_LOC)#

Get struct field value in array

Parameters:
  • ty (str) – The date type of the result.

  • arr (StructType*) – The array of struct.

  • index (int) – The index of struct.

  • field (int) – The field of struct.

  • loc (Location)

Returns:

call (Expr) – The call expression.