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

Make C-enums into idiomatic rust enums #206

Merged
merged 5 commits into from
Apr 21, 2024
Merged

Conversation

CGMossa
Copy link
Member

@CGMossa CGMossa commented Nov 16, 2023

There are several "inferred" enums in the R-API. This setting ensures that
they become idiomatic Rust enums.
There are still missing ones, namely the macro-defined-enums, but maybe I'll add those somewhere else.

@CGMossa
Copy link
Member Author

CGMossa commented Nov 16, 2023

/bindings

@Ilia-Kosenkov
Copy link
Member

Hm, should we already bump libR-sys version to some 0.7.0-dev value? This is a significant breaking change, I want to see a difference between the released 0.6.0 and what is currently developed.

@CGMossa
Copy link
Member Author

CGMossa commented Nov 19, 2023

Sure. Please make a PR that bumps the version.

@Ilia-Kosenkov
Copy link
Member

Checking my comments, I do not get it why can't we mark this as 0.7.0?

@CGMossa CGMossa force-pushed the convert_to_rust_enums branch from 1c27f85 to 545f970 Compare April 20, 2024 15:36
@CGMossa
Copy link
Member Author

CGMossa commented Apr 20, 2024

Bumped version.

@CGMossa
Copy link
Member Author

CGMossa commented Apr 20, 2024

Checking my comments, I do not get it why can't we mark this as 0.7.0?

Hard to remember.. I guess I saw that you'd make separate PRs to bump the version in rextendr. And I asked you to do it here maybe because I thought it was more elaborate than just changing a file.

@CGMossa CGMossa force-pushed the convert_to_rust_enums branch from 545f970 to e92a45a Compare April 21, 2024 20:15
@CGMossa CGMossa merged commit adb7097 into master Apr 21, 2024
19 of 20 checks passed
@CGMossa CGMossa deleted the convert_to_rust_enums branch April 21, 2024 20:28
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.

2 participants