* garrow_function_equal: * @function: A #GArrowFunction. * @other_function: A #GArrowFunction to be compared. * * Returns: %TRUE if both of them have the same name, %FALSE * otherwise. * * Since: 7.0.0 */
| 956 | * Since: 7.0.0 |
| 957 | */ |
| 958 | gboolean |
| 959 | garrow_function_equal(GArrowFunction *function, GArrowFunction *other_function) |
| 960 | { |
| 961 | auto priv = GARROW_FUNCTION_GET_PRIVATE(function); |
| 962 | auto other_priv = GARROW_FUNCTION_GET_PRIVATE(other_function); |
| 963 | return g_strcmp0(priv->name, other_priv->name) == 0; |
| 964 | } |
| 965 | |
| 966 | /** |
| 967 | * garrow_function_to_string: |
nothing calls this directly
no outgoing calls
no test coverage detected