rust-bindgen
rust-bindgen copied to clipboard
Add a `Builder::headers` helper
Much like clang_args, a helper for adding multiple headers in a chained builder expression. The signature should be:
pub fn headers<I: IntoIterator>(self, headers: I) -> Self where I::Item: Into<String>
I'm learning Rust and took a crack at this!
should this be closed
I think so, there's a commit on main with the change. @christianheussy feel free to reopen this if your changes didn't made it to main for some reason.
They did, thanks for closing!