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

Specify [repr(transparent)] for various types #46

Closed
Boddlnagg opened this issue Oct 31, 2017 · 2 comments
Closed

Specify [repr(transparent)] for various types #46

Boddlnagg opened this issue Oct 31, 2017 · 2 comments
Milestone

Comments

@Boddlnagg
Copy link
Collaborator

Boddlnagg commented Oct 31, 2017

When this feature is implemented and stabilized in rustc, we can (and should) use #[repr(transparent)] on various types, such as ComPtr and the various HSTRING wrappers.

@Boddlnagg
Copy link
Collaborator Author

Also Char (or alternatively change Char to be only a type alias).

@Boddlnagg
Copy link
Collaborator Author

This is now stable and we should use it.

@Boddlnagg Boddlnagg added this to the 0.6 milestone Feb 28, 2019
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

No branches or pull requests

1 participant