* garrow_datum_equal: * @datum: A #GArrowDatum. * @other_datum: A #GArrowDatum to be compared. * * Returns: %TRUE if both of them have the same datum, %FALSE * otherwise. * * Since: 1.0.0 */
| 185 | * Since: 1.0.0 |
| 186 | */ |
| 187 | gboolean |
| 188 | garrow_datum_equal(GArrowDatum *datum, GArrowDatum *other_datum) |
| 189 | { |
| 190 | const auto &arrow_datum = garrow_datum_get_raw(datum); |
| 191 | const auto &arrow_other_datum = garrow_datum_get_raw(other_datum); |
| 192 | return arrow_datum.Equals(arrow_other_datum); |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * garrow_datum_to_string: |