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

Bindgen refactors #2358

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Bindgen refactors #2358

wants to merge 1 commit into from

Conversation

bendk
Copy link
Contributor

@bendk bendk commented Dec 18, 2024

Added Enum::variant_discr_iter and use that to implement variant_discr. This provides a simple and efficient way for other code to get a Vec of discriminants.

Renamed uniffi_checksum_derive -> uniffi_internal_macros. This way we can use the same crate for future internal macros.

This is prep work for the bindings IR patch I'm hoping to land.

@bendk bendk requested a review from a team as a code owner December 18, 2024 15:24
@bendk bendk requested review from badboy and removed request for a team December 18, 2024 15:24
Added `Enum::variant_discr_iter` and use that to implement `variant_discr`.
This provides a simple and efficient way for other code to get a Vec of
discriminants.

Renamed `uniffi_checksum_derive` -> `uniffi_internal_macros`.  This way
we can use the same crate for future internal macros.

This is prep work for the bindings IR patch I'm hoping to land.
@bendk bendk force-pushed the push-vxokmoyvpuvx branch from f33e4c7 to 4c0de8c Compare December 18, 2024 15:57
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