* garrow_table_to_string: * @table: A #GArrowTable. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (nullable): * The formatted table content or %NULL on error. * * It should be freed with g_free() when no longer needed. * * Since: 0.12.0 */
| 643 | * Since: 0.12.0 |
| 644 | */ |
| 645 | gchar * |
| 646 | garrow_table_to_string(GArrowTable *table, GError **error) |
| 647 | { |
| 648 | const auto arrow_table = garrow_table_get_raw(table); |
| 649 | const auto string = arrow_table->ToString(); |
| 650 | return g_strdup(string.c_str()); |
| 651 | } |
| 652 | |
| 653 | /** |
| 654 | * garrow_table_concatenate: |
nothing calls this directly
no test coverage detected