* garrow_sort_options_equal: * @options: A #GArrowSortOptions. * @other_options: A #GArrowSortOptions to be compared. * * Returns: %TRUE if both of them have the same sort keys, %FALSE * otherwise. * * Since: 3.0.0 */
| 3506 | * Since: 3.0.0 |
| 3507 | */ |
| 3508 | gboolean |
| 3509 | garrow_sort_options_equal(GArrowSortOptions *options, GArrowSortOptions *other_options) |
| 3510 | { |
| 3511 | auto arrow_options = garrow_sort_options_get_raw(options); |
| 3512 | auto arrow_other_options = garrow_sort_options_get_raw(other_options); |
| 3513 | if (!garrow_raw_sort_keys_equal(arrow_options->sort_keys, |
| 3514 | arrow_other_options->sort_keys)) { |
| 3515 | return FALSE; |
| 3516 | } |
| 3517 | return TRUE; |
| 3518 | } |
| 3519 | |
| 3520 | /** |
| 3521 | * garrow_sort_options_get_sort_keys: |
nothing calls this directly
no test coverage detected