summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/bin/bindgen.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bin/bindgen.rs b/src/bin/bindgen.rs
index 1b9d4806..cb84f09b 100755
--- a/src/bin/bindgen.rs
+++ b/src/bin/bindgen.rs
@@ -60,26 +60,30 @@ Options:
--no-type-renaming Don't rename types.
- --allow-unknown-types Don't fail if we encounter types we do not
- support, instead treat them as void
-
--emit-clang-ast Output the ast (for debugging purposes)
--use-msvc-mangling Handle MSVC C++ ABI mangling; requires that
target be set to (i686|x86_64)-pc-win32
--raw-line=<raw> Add a raw line at the beginning of the output.
+
--no-unstable-rust Avoid generating unstable rust.
+
--no-bitfield-methods Avoid generating methods for bitfield access.
+
--opaque-type=<type> Mark a type as opaque.
+
--blacklist-type=<type> Mark a type as hidden.
+
--whitelist-type=<type> Whitelist the type. If this set or any other
of the whitelisting sets is not empty, then
all the non-whitelisted types (or dependant)
won't be generated.
+
--whitelist-function=<regex> Whitelist all the free-standing functions
matching <regex>. Same behavior on emptyness
than the type whitelisting.
+
--whitelist-var=<regex> Whitelist all the free-standing variables
matching <regex>. Same behavior on emptyness
than the type whitelisting.