Constructor
ArrowFieldnew
Declaration [src]
GArrowField*
garrow_field_new (
const gchar* name,
GArrowDataType* data_type
)
Parameters
name
-
Type:
const gchar*
The name of the field.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. data_type
-
Type:
GArrowDataType
The data type of the field.
The called function takes ownership of the data, and is responsible for freeing it.
Return value
Type: GArrowField
A newly created GArrowField
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |