* garrow_expression_to_string: * @expression: A #GArrowExpression. * * Returns: The formatted expression. * * It should be freed with g_free() when no longer needed. * * Since: 6.0.0 */
| 119 | * Since: 6.0.0 |
| 120 | */ |
| 121 | gchar * |
| 122 | garrow_expression_to_string(GArrowExpression *expression) |
| 123 | { |
| 124 | auto priv = GARROW_EXPRESSION_GET_PRIVATE(expression); |
| 125 | auto string = priv->expression.ToString(); |
| 126 | return g_strndup(string.data(), string.size()); |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * garrow_expression_equal: |