Method
ArrowSchemaadd_field
Declaration [src]
GArrowSchema*
garrow_schema_add_field (
GArrowSchema* schema,
guint i,
GArrowField* field,
GError** error
)
Parameters
i |
guint |
The index of the new field. |
|
field |
GArrowField |
The field to be added. |
|
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GArrowSchema |
The newly allocated
|
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL. |