diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2016-10-24 13:08:59 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2016-10-24 13:08:59 -0700 |
commit | 73e41152a137aaef5ea1cbbe4663d4a220049015 (patch) | |
tree | a9b20d5caddf732bbf2a38cfcb7f5309cdc520df | |
parent | 0f0fd83aaa95dcec181d33e0d5eb269e008eabb9 (diff) |
Remove the unused class_constants option
-rwxr-xr-x | src/lib.rs | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -119,11 +119,6 @@ impl Builder { self } - pub fn disable_class_constants(mut self) -> Builder { - self.options.class_constants = false; - self - } - pub fn generate(self) -> Result<Bindings, ()> { Bindings::generate(self.options, None) } @@ -146,8 +141,6 @@ pub struct BindgenOptions { pub derive_debug: bool, /// Generate or not only stable rust. pub unstable_rust: bool, - /// Whether to generate C++ class constants. - pub class_constants: bool, /// Wether to generate names that are **directly** under namespaces. pub namespaced_constants: bool, /// Whether to use msvc mangling rules @@ -174,7 +167,6 @@ impl Default for BindgenOptions { enable_cxx_namespaces: false, override_enum_ty: "".to_string(), unstable_rust: true, - class_constants: true, namespaced_constants: true, msvc_mangling: false, raw_lines: vec![], |