File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10652,8 +10652,7 @@ garrow_make_struct_options_add_field(GArrowMakeStructOptions *options,
1065210652 gboolean nullability,
1065310653 GHashTable *metadata)
1065410654{
10655- auto arrow_options = static_cast <arrow::compute::MakeStructOptions *>(
10656- garrow_function_options_get_raw (GARROW_FUNCTION_OPTIONS (options)));
10655+ auto arrow_options = garrow_make_struct_options_get_raw (options);
1065710656 arrow_options->field_names .emplace_back (name);
1065810657 arrow_options->field_nullability .push_back (nullability != FALSE );
1065910658 if (metadata) {
@@ -12114,8 +12113,7 @@ garrow_make_struct_options_new_raw(const arrow::compute::MakeStructOptions *arro
1211412113{
1211512114 auto options =
1211612115 GARROW_MAKE_STRUCT_OPTIONS (g_object_new (GARROW_TYPE_MAKE_STRUCT_OPTIONS, nullptr ));
12117- auto arrow_new_options = static_cast <arrow::compute::MakeStructOptions *>(
12118- garrow_function_options_get_raw (GARROW_FUNCTION_OPTIONS (options)));
12116+ auto arrow_new_options = garrow_make_struct_options_get_raw (options);
1211912117 *arrow_new_options = *arrow_options;
1212012118 return options;
1212112119}
You can’t perform that action at this time.
0 commit comments