question to all the #rustlang #FFI experts out there: Within a bigger C code base I like to replace some C code with Rust. I have a existing C header file describing the API and data types which I really don't like to touch. And it seems like this use-case is not really covered by bindgen or cbindgen.
#bindgen helps to generate Rust types, etc. from header files but assumes that your goal is to call from Rust into existing C code. All API functions are inside `extern` blocks.