This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 7cd4264ec5 GH-46456: [GLib] Add missing `since:` tag (#46457)
7cd4264ec5 is described below
commit 7cd4264ec5a3b88a6c772047a1d3e42d2ca15b42
Author: Hiroyuki Sato <[email protected]>
AuthorDate: Fri May 16 10:55:08 2025 +0900
GH-46456: [GLib] Add missing `since:` tag (#46457)
### Rationale for this change
#46434, #46401, #46381 implemented some instance methods for
`GArrowFixedShapeTensorDataType` class.
In method comment, a `since` tag was required, but I forgot to add it.
### What changes are included in this PR?
Add `Since:` tags.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No. (Add comment only)
* GitHub Issue: #46456
Authored-by: Hiroyuki Sato <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
c_glib/arrow-glib/basic-data-type.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/c_glib/arrow-glib/basic-data-type.cpp
b/c_glib/arrow-glib/basic-data-type.cpp
index 458a768ac2..45665b8264 100644
--- a/c_glib/arrow-glib/basic-data-type.cpp
+++ b/c_glib/arrow-glib/basic-data-type.cpp
@@ -2300,6 +2300,8 @@
garrow_fixed_shape_tensor_data_type_class_init(GArrowFixedShapeTensorDataTypeCla
* @error: (nullable): Return location for a #GError or %NULL.
*
* Returns: The newly created fixed shape tensor data type.
+ *
+ * Since: 21.0.0
*/
GArrowFixedShapeTensorDataType *
garrow_fixed_shape_tensor_data_type_new(GArrowDataType *value_type,
@@ -2353,6 +2355,8 @@ garrow_fixed_shape_tensor_data_type_new(GArrowDataType
*value_type,
* @length: (out): Return location for the number of dimensions of the tensor.
*
* Returns: (array length=length): Shape of the tensor.
+ *
+ * Since: 21.0.0
*/
const gint64 *
garrow_fixed_shape_tensor_data_type_get_shape(GArrowFixedShapeTensorDataType
*data_type,
@@ -2372,6 +2376,8 @@
garrow_fixed_shape_tensor_data_type_get_shape(GArrowFixedShapeTensorDataType *da
* @length: (out): Return location for the number of elements of permutation.
*
* Returns: (array length=length): Permutation of the tensor.
+ *
+ * Since: 21.0.0
*/
const gint64 *
garrow_fixed_shape_tensor_data_type_get_permutation(
@@ -2394,6 +2400,8 @@ garrow_fixed_shape_tensor_data_type_get_permutation(
*
* It's a %NULL-terminated string array. It must be freed with
* g_strfreev() when no longer needed.
+ *
+ * Since: 21.0.0
*/
gchar **
garrow_fixed_shape_tensor_data_type_get_dim_names(