Method
ArrowMakeStructOptionsadd_field
since: 23.0.0
Declaration [src]
void
garrow_make_struct_options_add_field (
GArrowMakeStructOptions* options,
const char* name,
gboolean nullability,
GHashTable* metadata
)
Description [src]
Adds a field to the struct options with the specified name, nullability, and optional metadata.
Available since: 23.0.0
Parameters
name-
Type:
const char*The name of the field to add.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. nullability-
Type:
gbooleanWhether the field is nullable.
metadata-
Type:
GHashTableA
GHashTablefor the field’s metadata, orNULL.The argument can be NULL.The data is owned by the caller of the function.