Skip to content

Commit e24825a

Browse files
kiszkkou
authored andcommitted
ARROW-7488: [GLib] Fix typos and broken links
This PR fixes typo and broken link in files under `c_glib` directory. Closes #6117 from kiszk/ARROW-7488 and squashes the following commits: be3ee80 <Kazuaki Ishizaki> address review comment df59961 <Kazuaki Ishizaki> fix typo Authored-by: Kazuaki Ishizaki <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 220132d commit e24825a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

c_glib/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ We support two build systems, GNU Autotools and Meson. If you find problems when
5757

5858
### Package
5959

60-
See [install document](../site/install.md) for details.
60+
See [install document](https://arrow.apache.org/install/) for details.
6161

6262
### How to build by users
6363

@@ -192,7 +192,7 @@ You can find example codes in the `example/` directory.
192192

193193
### Language bindings
194194

195-
You can use Arrow GLib with non C languages with GObject Introspection
195+
You can use Arrow GLib with non-C languages with GObject Introspection
196196
based bindings. Here are languages that support GObject Introspection:
197197

198198
* Ruby: [red-arrow gem](https://rubygems.org/gems/red-arrow) should be used.
@@ -297,7 +297,7 @@ gobject-introspection requires libffi, and it's automatically installed with gob
297297

298298
### build failed - /usr/bin/ld: cannot find -larrow
299299

300-
Arrow C++ must be installed to build Arrow GLib. Run `make install` on Arrow C++ build directory. In addtion, on linux, you may need to run `sudo ldconfig`.
300+
Arrow C++ must be installed to build Arrow GLib. Run `make install` on Arrow C++ build directory. In addition, on linux, you may need to run `sudo ldconfig`.
301301

302302
### build failed - unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
303303

c_glib/arrow-glib/tensor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ garrow_tensor_class_init(GArrowTensorClass *klass)
162162
* @strides: (array length=n_strides) (nullable): A list of the number of
163163
* bytes in each dimension.
164164
* @n_strides: The number of strides.
165-
* @dimention_names: (array length=n_dimention_names) (nullable): A list of
165+
* @dimension_names: (array length=n_dimension_names) (nullable): A list of
166166
* dimension names.
167-
* @n_dimention_names: The number of dimension names
167+
* @n_dimension_names: The number of dimension names
168168
*
169169
* Returns: The newly created #GArrowTensor.
170170
*

c_glib/arrow-glib/tensor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ GArrowTensor *garrow_tensor_new (GArrowDataType *data_type,
4141
gsize n_dimensions,
4242
gint64 *strides,
4343
gsize n_strides,
44-
gchar **dimention_names,
45-
gsize n_dimention_names);
44+
gchar **dimension_names,
45+
gsize n_dimension_names);
4646
gboolean garrow_tensor_equal (GArrowTensor *tensor,
4747
GArrowTensor *other_tensor);
4848
GArrowDataType *garrow_tensor_get_value_data_type(GArrowTensor *tensor);

c_glib/test/test-compare.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
class TestComapre < Test::Unit::TestCase
18+
class TestCompare < Test::Unit::TestCase
1919
include Helper::Buildable
2020

2121
def setup

0 commit comments

Comments
 (0)