On Fri, Oct 02, 2020 at 10:20:18PM +0100, Andrew Cooper wrote: [...] > P.S. Another good reason for having extremely simple header files is for > the poor sole trying to write a Go/Rust/other binding for this in some > likely not-to-distant future.
For Rust the header is going to be generated by a tool called bindgen. It doesn't like nested macros, so I would be all for a simpler C header file if we can help it. Wei.