aboutsummaryrefslogtreecommitdiff
path: root/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib.rs')
-rw-r--r--lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib.rs b/lib.rs
index 482c1a3..e800136 100644
--- a/lib.rs
+++ b/lib.rs
@@ -1,5 +1,7 @@
//! Generate Rust bindings for C and C++ libraries.
//!
+//! This is a slightly forked version for use by `autocxx`.
+//!
//! Provide a C/C++ header file, receive Rust FFI code to call into C/C++
//! functions and use types defined in the header.
//!
@@ -1211,6 +1213,7 @@ fn get_target_dependent_env_var(
/// When running inside a `build.rs` script, this can be used to make cargo invalidate the
/// generated bindings whenever any of the files included from the header change:
/// ```
+/// use autocxx_bindgen as bindgen;
/// use bindgen::builder;
/// let bindings = builder()
/// .header("path/to/input/header")