diff options
-rwxr-xr-x | src/bin/bindgen.rs | 5 | ||||
-rwxr-xr-x | src/lib.rs | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/bin/bindgen.rs b/src/bin/bindgen.rs index cb84f09b..65d01545 100755 --- a/src/bin/bindgen.rs +++ b/src/bin/bindgen.rs @@ -69,8 +69,6 @@ Options: --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. @@ -162,9 +160,6 @@ fn parse_args_or_exit(args: Vec<String>) -> (BindgenOptions, Box<io::Write>) { "--ignore-functions" => { options.ignore_functions = true; } - "--no-bitfield-methods" => { - options.gen_bitfield_methods = false; - } "--ignore-methods" => { options.ignore_methods = true; } @@ -114,11 +114,6 @@ impl Builder { self } - pub fn no_bitfield_methods(mut self) -> Builder { - self.options.gen_bitfield_methods = false; - self - } - pub fn no_unstable_rust(mut self) -> Builder { self.options.unstable_rust = false; self @@ -157,7 +152,6 @@ pub struct BindgenOptions { pub emit_ast: bool, pub ignore_functions: bool, pub ignore_methods: bool, - pub gen_bitfield_methods: bool, pub enable_cxx_namespaces: bool, pub rename_types: bool, pub derive_debug: bool, @@ -188,7 +182,6 @@ impl Default for BindgenOptions { emit_ast: false, ignore_functions: false, ignore_methods: false, - gen_bitfield_methods: true, rename_types: true, derive_debug: true, enable_cxx_namespaces: false, |