contextfree / winrt-rust

Use and (eventually) make Windows Runtime APIs with Rust
Apache License 2.0
142 stars 10 forks source link

Use ptr::NonNull in ComPtr #66

Closed Boddlnagg closed 5 years ago

Boddlnagg commented 5 years ago

Because our ComPtr<T> can never contain null, it should use ptr::NonNull now that this is stable. It should also be made repr(transparent) (see #46)