rust-bindgen
rust-bindgen copied to clipboard
Allow generating hidden visibility functions
- add a generate_hidden_functions option so bindgen can keep functions that Clang marks with hidden/protected visibility (fixes https://github.com/rust-lang/rust-bindgen/issues/2989)
- allow Function::parse to honor the new option instead of dropping those declarations unconditionally
I think you need to add some test cases