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: gboolean

Whether the field is nullable.

metadata

Type: GHashTable

A GHashTable for the field’s metadata, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.