| 8343 | } |
| 8344 | |
| 8345 | static void |
| 8346 | garrow_null_options_class_init(GArrowNullOptionsClass *klass) |
| 8347 | { |
| 8348 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 8349 | |
| 8350 | gobject_class->set_property = garrow_null_options_set_property; |
| 8351 | gobject_class->get_property = garrow_null_options_get_property; |
| 8352 | |
| 8353 | arrow::compute::NullOptions options; |
| 8354 | |
| 8355 | GParamSpec *spec; |
| 8356 | /** |
| 8357 | * GArrowNullOptions:nan-is-null: |
| 8358 | * |
| 8359 | * Whether floating-point NaN values are considered null. |
| 8360 | * |
| 8361 | * Since: 23.0.0 |
| 8362 | */ |
| 8363 | spec = g_param_spec_boolean("nan-is-null", |
| 8364 | "NaN is null", |
| 8365 | "Whether floating-point NaN values are considered null", |
| 8366 | options.nan_is_null, |
| 8367 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 8368 | g_object_class_install_property(gobject_class, PROP_NULL_OPTIONS_NAN_IS_NULL, spec); |
| 8369 | } |
| 8370 | |
| 8371 | /** |
| 8372 | * garrow_null_options_new: |
nothing calls this directly
no outgoing calls
no test coverage detected