* garrow_array_datum_new: * @value: A #GArrowArray. * * Returns: A newly created #GArrowArrayDatum. * * Since: 1.0.0 */
| 307 | * Since: 1.0.0 |
| 308 | */ |
| 309 | GArrowArrayDatum * |
| 310 | garrow_array_datum_new(GArrowArray *value) |
| 311 | { |
| 312 | auto arrow_value = garrow_array_get_raw(value); |
| 313 | arrow::Datum arrow_datum(arrow_value); |
| 314 | return garrow_array_datum_new_raw(&arrow_datum, value); |
| 315 | } |
| 316 | |
| 317 | typedef struct GArrowScalarDatumPrivate_ |
| 318 | { |
nothing calls this directly
no test coverage detected