* garrow_array_builder_reserve: * @builder: A #GArrowArrayBuilder. * @additional_capacity: The additional capacity to be reserved. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: %TRUE on success, %FALSE if there was an error. * * Since: 2.0.0 */
| 761 | * Since: 2.0.0 |
| 762 | */ |
| 763 | gboolean |
| 764 | garrow_array_builder_reserve(GArrowArrayBuilder *builder, |
| 765 | gint64 additional_capacity, |
| 766 | GError **error) |
| 767 | { |
| 768 | auto arrow_builder = garrow_array_builder_get_raw(builder); |
| 769 | auto status = arrow_builder->Reserve(additional_capacity); |
| 770 | return garrow_error_check(error, status, "[array-builder][reserve]"); |
| 771 | } |
| 772 | |
| 773 | /** |
| 774 | * garrow_array_builder_append_null: |
nothing calls this directly
no test coverage detected