contextfree / winrt-rust

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

Use &self instead of &mut self #39

Closed Boddlnagg closed 6 years ago

Boddlnagg commented 7 years ago

Probably the inner mutability within WinRT objects doesn't matter to Rust, and all the autogenerated wrapper methods should just take &self instead of &mut self (and the same for other interface parameters that are not self).