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 277df0ec4b GH-44601: [GLib] Fix the wrong GARROW_AVAILABLE_IN
declaration (#44602)
277df0ec4b is described below
commit 277df0ec4bdc0e9bc4557ce40d38fcf921396683
Author: Hiroyuki Sato <[email protected]>
AuthorDate: Sat Nov 2 07:04:15 2024 +0900
GH-44601: [GLib] Fix the wrong GARROW_AVAILABLE_IN declaration (#44602)
### Rationale for this change
GArrowDecimal64 will be introduced in the 19.0.0 release.
This part should be `GARROW_AVAILABLE_IN_19_0`
instead of `GARROW_AVAILABLE_IN_ALL`
### What changes are included in this PR?
Change the `GARROW_AVAILABLE_IN` declaration.
### Are these changes tested?
YES
### Are there any user-facing changes?
NO
* GitHub Issue: #44601
Authored-by: Hiroyuki Sato <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
c_glib/arrow-glib/decimal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c_glib/arrow-glib/decimal.h b/c_glib/arrow-glib/decimal.h
index 6f839a67d9..e034f1bbdc 100644
--- a/c_glib/arrow-glib/decimal.h
+++ b/c_glib/arrow-glib/decimal.h
@@ -106,7 +106,7 @@ garrow_decimal32_rescale(GArrowDecimal32 *decimal,
/* Disabled because it conflicts with GARROW_TYPE_DECIMAL64 in GArrowType. */
/* #define GARROW_TYPE_DECIMAL64 (garrow_decimal64_get_type()) */
-GARROW_AVAILABLE_IN_ALL
+GARROW_AVAILABLE_IN_19_0
G_DECLARE_DERIVABLE_TYPE(GArrowDecimal64, garrow_decimal64, GARROW, DECIMAL64,
GObject)
struct _GArrowDecimal64Class