rust-bindgen icon indicating copy to clipboard operation
rust-bindgen copied to clipboard

Allow generating hidden visibility functions

Open chertov opened this issue 2 months ago • 1 comments

  • 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

chertov avatar Oct 13 '25 06:10 chertov

I think you need to add some test cases

ivmaykov avatar Oct 13 '25 20:10 ivmaykov