Contrary to my rfc, I think I have been persuaded that unions should be structs, not enums. The primary distinction between an enum and a...
@nick_r_cameron #include <header.h> is the ultimate solution to C interop, IMO. C++ is probably too complex for that.
-
-
@nick_r_cameron That I have to manually keep the Rust #[repr(C)] declaration of a struct in sync with the original definition is madness. -
@BRIAN_____ This can (and should) be automated using bindgen. If this is not ergonomic we should fix the tools.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.