* garrow_function_get_default_options: * @function: A #GArrowFunction. * * Returns: (transfer full) (nullable): The default options of this * function if exists, %NULL otherwise. * * Since: 7.0.0 */
| 912 | * Since: 7.0.0 |
| 913 | */ |
| 914 | GArrowFunctionOptions * |
| 915 | garrow_function_get_default_options(GArrowFunction *function) |
| 916 | { |
| 917 | auto arrow_function = garrow_function_get_raw(function); |
| 918 | auto arrow_function_options = arrow_function->default_options(); |
| 919 | if (!arrow_function_options) { |
| 920 | return NULL; |
| 921 | } |
| 922 | return garrow_function_options_new_raw(arrow_function_options); |
| 923 | } |
| 924 | |
| 925 | /** |
| 926 | * garrow_function_get_options_type: |
nothing calls this directly
no test coverage detected