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 applicable fields const #1470

Merged
merged 3 commits into from Jan 28, 2022
Merged

Make applicable fields const #1470

merged 3 commits into from Jan 28, 2022

Conversation

kennykerr
Copy link
Collaborator

@kennykerr kennykerr commented Jan 28, 2022

If the win32 metadata includes a Const attribute on a struct field then such fields (of some pointer type) will be a *const rather than *mut.

Fixes #1402

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.

Bug: constant C++ pointer generates mutable Rust pointer
1 participant