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 should error on multiple #[callback_vec] arguments #1037

Open
agostbiro opened this issue Jun 28, 2023 · 0 comments
Open

bindgen should error on multiple #[callback_vec] arguments #1037

agostbiro opened this issue Jun 28, 2023 · 0 comments

Comments

@agostbiro
Copy link
Contributor

I noticed while working on #1036 that while the abi generator errors on multiple callback parameters, the code generator supports multiple #[callback_vec] method arguments.

My understanding is that multiple #[callback_vec] arguments don't make sense, so this should be a compile time error in the code generator. Also supported by #860 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: NEW❗
Development

No branches or pull requests

1 participant