4 ms·
Did you just imply that we put the comments of C headers into our types?! Comments are lower than whitespace as far as the compiler should be sure. As I'm sure
by nixpulvis 5y ago
Did you just imply that we put the comments of C headers into our types?! Comments are lower than whitespace as far as the compiler should be sure.
As I'm sure you are aware https://github.com/rust-lang/rust-bindgen https://github.com/rust-lang/rust-bindgen does basically what you want.
I'm actually quite curious where exactly rust-bindgen falls short in the eyes of the author. I'm not as familiar with the other FFI libraries the OP linked.
- DonHopkins 5y agoWhen is SWIG finally going to support Generalized Whitespace Overloading in C++ 2000? It's been 23 years, 2 months, and 19 days since the technical details were published in AT&T Labs Technical Report no. 42! https://www.stroustrup.com/whitespace98.pdf https://www.stroustrup.com/whitespace98.pdf