* garrow_half_float_array_new: * @length: The number of elements. * @data: The binary data in Arrow format of the array. * @null_bitmap: (nullable): The bitmap that shows null elements. The * N-th element is null when the N-th bit is 0, not null otherwise. * If the array has no null elements, the bitmap must be %NULL and * @n_nulls is 0. * @n_nulls: The number of null elements. If -1
| 2118 | * Since: 11.0.0 |
| 2119 | */ |
| 2120 | GArrowHalfFloatArray * |
| 2121 | garrow_half_float_array_new(gint64 length, |
| 2122 | GArrowBuffer *data, |
| 2123 | GArrowBuffer *null_bitmap, |
| 2124 | gint64 n_nulls) |
| 2125 | { |
| 2126 | auto array = |
| 2127 | garrow_primitive_array_new<arrow::HalfFloatType>(length, data, null_bitmap, n_nulls); |
| 2128 | return GARROW_HALF_FLOAT_ARRAY(array); |
| 2129 | } |
| 2130 | |
| 2131 | /** |
| 2132 | * garrow_half_float_array_get_value: |
nothing calls this directly
no outgoing calls
no test coverage detected