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

Precise generic type code generation #1492

merged 9 commits into from Feb 2, 2022

Precise generic type code generation #1492

merged 9 commits into from Feb 2, 2022


Copy link

@kennykerr kennykerr commented Feb 2, 2022

WinRT includes both generics interface types and array parameter types that are combined in some interesting ways that make writing generic Rust code a little tricky. The DefaultType trait is used to generalize this but the bindgen crate was applying it too liberally, using it for array parameters even when they did not involve generic types.

This is one more step toward improved authoring support. #91

@kennykerr kennykerr merged commit faaf25b into master Feb 2, 2022
15 checks passed
@kennykerr kennykerr deleted the DefaultType branch Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant