We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7186651 commit 8577bcaCopy full SHA for 8577bca
src/lib.rs
@@ -1368,7 +1368,7 @@ impl Builder {
1368
}
1369
1370
/// Generate the Rust bindings using the options built up thus far.
1371
- pub fn generate(mut self) -> Result<Bindings, ()> {
+ pub fn generate(self) -> Result<Bindings, ()> {
1372
Bindings::generate(Builder::generate_options(self).options)
1373
1374
@@ -1385,7 +1385,8 @@ impl Builder {
1385
"Cannot find clang executable",
1386
)
1387
})?;
1388
-// Builder::generate_options(self);
+ //Builder::generate_options(self);
1389
+
1390
// The contents of a wrapper file that includes all the input header
1391
// files.
1392
let mut wrapper_contents = String::new();
0 commit comments