Skip to content

Commit 7e286dd

Browse files
jsorefkou
andauthored
GH-38923: [GLib] Fix spelling (#38924)
### Rationale for this change ### What changes are included in this PR? Spelling fixes to c_glib/ ### Are these changes tested? ### Are there any user-facing changes? * Closes: #38923 Lead-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent 0148db4 commit 7e286dd

23 files changed

Lines changed: 42 additions & 42 deletions

c_glib/arrow-dataset-glib/dataset-factory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ GARROW_AVAILABLE_IN_5_0
100100
gboolean
101101
gadataset_file_system_dataset_factory_add_selector(
102102
GADatasetFileSystemDatasetFactory *factory,
103-
GArrorFileSelector *selector,
103+
GArrowFileSelector *selector,
104104
GError **error);
105105
*/
106106

c_glib/arrow-flight-sql-glib/server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ G_DECLARE_DERIVABLE_TYPE(GAFlightSQLServer,
202202
/**
203203
* GAFlightSQLServerClass:
204204
* @get_flight_info_statement: A virtual function to implement
205-
* `GetFlightInfoStatment` API that gets a #GAFlightInfo for executing a
205+
* `GetFlightInfoStatement` API that gets a #GAFlightInfo for executing a
206206
* SQL query.
207207
* @do_get_statement: A virtual function to implement `DoGetStatement` API
208208
* that gets a #GAFlightDataStream containing the query results.

c_glib/arrow-glib/array-builder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5179,7 +5179,7 @@ garrow_binary_dictionary_array_builder_append_indices(GArrowBinaryDictionaryArra
51795179
* garrow_binary_dictionary_array_builder_get_dictionary_length:
51805180
* @builder: A #GArrowBinaryDictionaryArrayBuilder.
51815181
*
5182-
* Returns: A number of entries in the dicitonary.
5182+
* Returns: A number of entries in the dictionary.
51835183
*
51845184
* Since: 2.0.0
51855185
*/
@@ -5413,7 +5413,7 @@ garrow_string_dictionary_array_builder_append_indices(GArrowStringDictionaryArra
54135413
* garrow_string_dictionary_array_builder_get_dictionary_length:
54145414
* @builder: A #GArrowStringDictionaryArrayBuilder.
54155415
*
5416-
* Returns: A number of entries in the dicitonary.
5416+
* Returns: A number of entries in the dictionary.
54175417
*
54185418
* Since: 2.0.0
54195419
*/

c_glib/arrow-glib/buffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ garrow_buffer_get_data(GArrowBuffer *buffer)
307307
* @buffer: A #GArrowBuffer.
308308
*
309309
* Returns: (transfer full) (nullable): The data of the buffer. If the
310-
* buffer is imutable, it returns %NULL. The data is owned by the
310+
* buffer is immutable, it returns %NULL. The data is owned by the
311311
* buffer. You should not free the data.
312312
*
313313
* Since: 0.3.0

c_glib/arrow-glib/composite-array.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@ garrow_run_end_encoded_array_find_physical_offset(
20772077
* range of values from offset to length.
20782078
*
20792079
* Avoid calling this function if the physical length can be
2080-
* estabilished in some other way (e.g. when iterating over the runs
2080+
* established in some other way (e.g. when iterating over the runs
20812081
* sequentially until the end). This function uses binary-search, so
20822082
* it has a O(log N) cost.
20832083
*

c_glib/arrow-glib/compute.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ G_BEGIN_DECLS
231231
* #GArrowUTF8NormalizeOptions is a class to customize the
232232
* `utf8_normalize` function.
233233
*
234-
* #GArrowQuantileOptions is a class to customize the `qunatile`
234+
* #GArrowQuantileOptions is a class to customize the `quantile`
235235
* function.
236236
*
237237
* #GArrowIndexOptions is a class to customize the `index` function.
@@ -5434,7 +5434,7 @@ garrow_record_batch_take(GArrowRecordBatch *record_batch,
54345434
* @options: (nullable): A #GArrowFilterOptions.
54355435
* @error: (nullable): Return location for a #GError or %NULL.
54365436
*
5437-
* Returns: (nullable) (transfer full): The #GArrowArray filterd
5437+
* Returns: (nullable) (transfer full): The #GArrowArray filtered
54385438
* with a boolean selection filter. Nulls in the filter will
54395439
* result in nulls in the output.
54405440
*
@@ -5670,7 +5670,7 @@ garrow_table_sort_indices(GArrowTable *table,
56705670
* @options: (nullable): A #GArrowFilterOptions.
56715671
* @error: (nullable): Return location for a #GError or %NULL.
56725672
*
5673-
* Returns: (nullable) (transfer full): The #GArrowTable filterd
5673+
* Returns: (nullable) (transfer full): The #GArrowTable filtered
56745674
* with a boolean selection filter. Nulls in the filter will
56755675
* result in nulls in the output.
56765676
*
@@ -5709,7 +5709,7 @@ garrow_table_filter(GArrowTable *table,
57095709
* @options: (nullable): A #GArrowFilterOptions.
57105710
* @error: (nullable): Return location for a #GError or %NULL.
57115711
*
5712-
* Returns: (nullable) (transfer full): The #GArrowTable filterd
5712+
* Returns: (nullable) (transfer full): The #GArrowTable filtered
57135713
* with a chunked array filter. Nulls in the filter will
57145714
* result in nulls in the output.
57155715
*
@@ -5750,7 +5750,7 @@ garrow_table_filter_chunked_array(GArrowTable *table,
57505750
* @options: (nullable): A #GArrowFilterOptions.
57515751
* @error: (nullable): Return location for a #GError or %NULL.
57525752
*
5753-
* Returns: (nullable) (transfer full): The #GArrowChunkedArray filterd
5753+
* Returns: (nullable) (transfer full): The #GArrowChunkedArray filtered
57545754
* with a boolean selection filter. Nulls in the filter will
57555755
* result in nulls in the output.
57565756
*
@@ -5789,7 +5789,7 @@ garrow_chunked_array_filter(GArrowChunkedArray *chunked_array,
57895789
* @options: (nullable): A #GArrowFilterOptions.
57905790
* @error: (nullable): Return location for a #GError or %NULL.
57915791
*
5792-
* Returns: (nullable) (transfer full): The #GArrowChunkedArray filterd
5792+
* Returns: (nullable) (transfer full): The #GArrowChunkedArray filtered
57935793
* with a chunked array filter. Nulls in the filter will
57945794
* result in nulls in the output.
57955795
*
@@ -5830,7 +5830,7 @@ garrow_chunked_array_filter_chunked_array(GArrowChunkedArray *chunked_array,
58305830
* @options: (nullable): A #GArrowFilterOptions.
58315831
* @error: (nullable): Return location for a #GError or %NULL.
58325832
*
5833-
* Returns: (nullable) (transfer full): The #GArrowRecordBatch filterd
5833+
* Returns: (nullable) (transfer full): The #GArrowRecordBatch filtered
58345834
* with a boolean selection filter. Nulls in the filter will
58355835
* result in nulls in the output.
58365836
*

c_glib/arrow-glib/expression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ garrow_field_expression_class_init(GArrowFieldExpressionClass *klass)
166166
* @reference: A field name or dot path.
167167
* @error: (nullable): Return location for a #GError or %NULL.
168168
*
169-
* Returns: A newly created #GArrowFieldExpression on sucess, %NULL on
169+
* Returns: A newly created #GArrowFieldExpression on success, %NULL on
170170
* error.
171171
*
172172
* Since: 6.0.0

c_glib/arrow-glib/input-stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ garrow_file_input_stream_new_file_descriptor(gint file_descriptor,
697697

698698
/**
699699
* garrow_file_input_stream_get_file_descriptor:
700-
* @stream: A #GArrowFileInuptStream.
700+
* @stream: A #GArrowFileInputStream.
701701
*
702702
* Returns: The file descriptor of @stream.
703703
*

c_glib/arrow-glib/local-file-system.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ G_BEGIN_DECLS
2828
* @title: Local file system classes
2929
* @include: arrow-glib/arrow-glib.h
3030
*
31-
* #GArrowLocalFileSystemOptions is a class for specifyiing options of
31+
* #GArrowLocalFileSystemOptions is a class for specifying options of
3232
* an instance of #GArrowLocalFileSystem.
3333
*
3434
* #GArrowLocalFileSystem is a class for an implementation of a file system

c_glib/arrow-glib/metadata-version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* SECTION: metadata-version
2424
* @title: GArrowMetadataVersion
25-
* @short_description: Metadata version mapgging between Arrow and arrow-glib
25+
* @short_description: Metadata version mapping between Arrow and arrow-glib
2626
*
2727
* #GArrowMetadataVersion provides metadata versions corresponding
2828
* to `arrow::ipc::MetadataVersion` values.

0 commit comments

Comments
 (0)