Skip to content
Prev 61540 / 63424 Next

Breaking Change in Rcomplex Layout?

On Tue, 4 Apr 2023 09:31:33 +0200
Tomas Kalibera <tomas.kalibera at gmail.com> wrote:

            
It's worth mentioning that Rust's RFC 2102 [1] defines unnamed structs
and unions for the purpose of C interoperability, but it's not yet
implemented.

Would it help Rust's bindgen (and, potentially, other C declaration
parsers) if R could optionally give a name to the anonymous union
member, like it's done in Windows API [2]?