* garrow_datum_to_string: * @datum: A #GArrowDatum. * * Returns: The formatted datum content. * * It should be freed with g_free() when no longer needed. * * Since: 1.0.0 */
| 203 | * Since: 1.0.0 |
| 204 | */ |
| 205 | gchar * |
| 206 | garrow_datum_to_string(GArrowDatum *datum) |
| 207 | { |
| 208 | const auto &arrow_datum = garrow_datum_get_raw(datum); |
| 209 | const auto string = arrow_datum.ToString(); |
| 210 | return g_strdup(string.c_str()); |
| 211 | } |
| 212 | |
| 213 | typedef struct GArrowArrayDatumPrivate_ |
| 214 | { |