Skip to content

Conversation

@adamreeve
Copy link
Contributor

@adamreeve adamreeve commented May 20, 2024

Rationale for this change

This is to support later using the *_AVAILABLE_IN_* macros to add dllexport/dllimport attributes required for building these libraries with MSVC (#41134)

What changes are included in this PR?

Are these changes tested?

This doesn't include any behaviour change that can be unit tested.

Are there any user-facing changes?

No

@adamreeve adamreeve requested a review from kou as a code owner May 20, 2024 01:43
@github-actions
Copy link

⚠️ GitHub issue #41681 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting review Awaiting review labels May 20, 2024
@adamreeve adamreeve requested a review from raulcd as a code owner May 20, 2024 22:56
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels May 20, 2024
@adamreeve adamreeve requested a review from assignUser as a code owner May 21, 2024 02:49
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting change review Awaiting change review labels May 21, 2024
adamreeve and others added 2 commits May 21, 2024 20:26
@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting merge Awaiting merge labels May 21, 2024
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels May 21, 2024
@kou kou merged commit 37e5240 into apache:main May 22, 2024
@kou kou removed the awaiting change review Awaiting change review label May 22, 2024
@adamreeve adamreeve deleted the glib_separate_version_headers branch May 22, 2024 00:47
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit 37e5240.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 23 possible false positives for unstable benchmarks that are known to sometimes produce them.

G_BEGIN_DECLS

#define GGANDIVA_TYPE_NODE (ggandiva_node_get_type())
GGANDIVA_AVAILABLE_IN_0_12;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just noticed I accidentally added semicolons at the end of the macros in this header, which causes a problem when the macros get replaced with something. I can fix this as part of #41599

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label May 22, 2024
vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
… library (apache#41721)

### Rationale for this change

This is to support later using the `*_AVAILABLE_IN_*` macros to add `dllexport/dllimport` attributes required for building these libraries with MSVC (apache#41134)

### What changes are included in this PR?

* Add a Python script that generates `DEPRECATED_IN` and `AVAILABLE_IN` macros for each GLib library
* Add missing `AVAILABLE_IN` annotations to some methods in the GLib libraries (except the main arrow-glib library as this is being done in apache#41599)

### Are these changes tested?

This doesn't include any behaviour change that can be unit tested.

### Are there any user-facing changes?

No
* GitHub Issue: apache#41681

Lead-authored-by: Adam Reeve <adreeve@gmail.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants