Method

ArrowUnionDataTypeget_type_codes

since: 0.12.0

Declaration [src]

gint8*
garrow_union_data_type_get_type_codes (
  GArrowUnionDataType* union_data_type,
  gsize* n_type_codes
)

Description

No description available.

Available since: 0.12.0

Parameters

n_type_codes

Type: gsize*

The number of type codes.

The argument will be set by the function.

Return value

Type: An array of gint8

The codes for each field.

It should be freed with g_free() when no longer needed.

The length of the array is in the n_type_codes argument.
The caller of the method takes ownership of the data, and is responsible for freeing it.