* garrow_array_to_string: * @array: A #GArrowArray. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (nullable): * The formatted array content or %NULL on error. * * It should be freed with g_free() when no longer needed. * * Since: 0.4.0 */
| 1196 | * Since: 0.4.0 |
| 1197 | */ |
| 1198 | gchar * |
| 1199 | garrow_array_to_string(GArrowArray *array, GError **error) |
| 1200 | { |
| 1201 | const auto arrow_array = garrow_array_get_raw(array); |
| 1202 | const auto string = arrow_array->ToString(); |
| 1203 | return g_strdup(string.c_str()); |
| 1204 | } |
| 1205 | |
| 1206 | /** |
| 1207 | * garrow_array_view: |
nothing calls this directly
no test coverage detected