Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate cfg conditions for aliases, enums, interfaces and disguised #1453

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

fbrouille
Copy link
Contributor

No description provided.

@bilelmoussaoui
Copy link
Member

Would you mind submitting a PR to at least gtk-rs-core/gtk4-rs with the changes to see how it looks like?

@sdroege
Copy link
Member

sdroege commented Mar 20, 2023

Looks good to me but having a pre-view of the changes would be useful indeed.

@bilelmoussaoui
Copy link
Member

The CI should be fixed once gtk-rs/gtk3-rs#817 is merged

@bilelmoussaoui
Copy link
Member

Please rebase & squash the commits into one.

…records

Signed-off-by: fbrouille <fbrouille@users.noreply.github.com>
@fbrouille
Copy link
Contributor Author

fbrouille commented Mar 20, 2023

This change does not impact generated code for gtk3-rs/gtk4-rs. I use it with other gir files (Nautilus-3.0.gir, Nautilus-4.0) to condition compilation of generated code according to some features

@sdroege sdroege merged commit 10574a3 into gtk-rs:master Mar 21, 2023
@sdroege
Copy link
Member

sdroege commented Mar 21, 2023

Ok, let's merge it then. Thanks!

@fbrouille fbrouille deleted the generate_cfg_conditions branch June 7, 2023 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants