Skip to content

Commit

Permalink
Add with_cpp_compat to the builder
Browse files Browse the repository at this point in the history
  • Loading branch information
irh authored and emilio committed Nov 10, 2022
1 parent 66bc17f commit 317412c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bindgen/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ impl Builder {
self
}

#[allow(unused)]
pub fn with_cpp_compat(mut self, cpp_compat: bool) -> Builder {
self.config.cpp_compat = cpp_compat;
self
}

#[allow(unused)]
pub fn with_style(mut self, style: Style) -> Builder {
self.config.style = style;
Expand Down

0 comments on commit 317412c

Please sign in to comment.