Skip to content

Commit 64aedf4

Browse files
Deploying to gh-pages from @ 0917399 🚀
1 parent 2896da9 commit 64aedf4

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

non-system-libraries.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ <h1 class="menu-title">The bindgen User Guide</h1>
189189
<pre><code class="language-rust ignore">use std::env;
190190
use std::path::PathBuf;
191191

192-
use bindgen::CargoCallbacks;
193-
194192
fn main() {
195193
// This is the directory where the `c` library is located.
196194
let libdir_path = PathBuf::from(&quot;hello&quot;)
@@ -255,7 +253,7 @@ <h1 class="menu-title">The bindgen User Guide</h1>
255253
.header(headers_path_str)
256254
// Tell cargo to invalidate the built crate whenever any of the
257255
// included header files changed.
258-
.parse_callbacks(Box::new(CargoCallbacks::new()))
256+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
259257
// Finish the builder and generate the bindings.
260258
.generate()
261259
// Unwrap the Result and panic on failure.

print.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,6 @@ <h2 id="tutorial"><a class="header" href="#tutorial">Tutorial</a></h2>
578578
<pre><code class="language-rust ignore">use std::env;
579579
use std::path::PathBuf;
580580

581-
use bindgen::CargoCallbacks;
582-
583581
fn main() {
584582
// This is the directory where the `c` library is located.
585583
let libdir_path = PathBuf::from(&quot;hello&quot;)
@@ -644,7 +642,7 @@ <h2 id="tutorial"><a class="header" href="#tutorial">Tutorial</a></h2>
644642
.header(headers_path_str)
645643
// Tell cargo to invalidate the built crate whenever any of the
646644
// included header files changed.
647-
.parse_callbacks(Box::new(CargoCallbacks::new()))
645+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
648646
// Finish the builder and generate the bindings.
649647
.generate()
650648
// Unwrap the Result and panic on failure.

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)