* garrow_schema_n_fields: * @schema: A #GArrowSchema. * * Returns: The number of fields of the schema. */
| 267 | * Returns: The number of fields of the schema. |
| 268 | */ |
| 269 | guint |
| 270 | garrow_schema_n_fields(GArrowSchema *schema) |
| 271 | { |
| 272 | const auto arrow_schema = garrow_schema_get_raw(schema); |
| 273 | return arrow_schema->num_fields(); |
| 274 | } |
| 275 | |
| 276 | /** |
| 277 | * garrow_schema_get_fields: |
nothing calls this directly
no test coverage detected