microsoft / windows-rs

Rust for Windows
https://kennykerr.ca/rust-getting-started/
Apache License 2.0
10.23k stars 475 forks source link

Reduce boilerplate code in `windows-core` crate for `VARIANT` support #3151

Closed kennykerr closed 1 month ago

kennykerr commented 1 month ago

VARIANT support is quite unwieldy and I haven't yet found a practical way to split it out from the windows-core crate, but I'm working on finding such a solution. This just reduces the boilerplate code by using a macro to generate much of it.