diff options
-rw-r--r-- | bindgen_plugin/src/bgmacro.rs | 1 | ||||
-rwxr-xr-x | src/lib.rs | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/bindgen_plugin/src/bgmacro.rs b/bindgen_plugin/src/bgmacro.rs index 30ebaaea..0e95b9a5 100644 --- a/bindgen_plugin/src/bgmacro.rs +++ b/bindgen_plugin/src/bgmacro.rs @@ -101,7 +101,6 @@ impl MacroArgsVisitor for BindgenArgsVisitor { Some("link_framework") => self.options.links.push((val.to_string(), LinkType::Framework)), Some("match") => self.options.match_pat.push(val.to_string()), Some("clang_args") => self.options.clang_args.push(val.to_string()), - Some("enum_type") => self.options.override_enum_ty = val.to_string(), _ => return false } true @@ -145,7 +145,6 @@ pub struct BindgenOptions { pub namespaced_constants: bool, /// Whether to use msvc mangling rules pub msvc_mangling: bool, - pub override_enum_ty: String, pub raw_lines: Vec<String>, pub clang_args: Vec<String>, } @@ -165,7 +164,6 @@ impl Default for BindgenOptions { ignore_methods: false, derive_debug: true, enable_cxx_namespaces: false, - override_enum_ty: "".to_string(), unstable_rust: true, namespaced_constants: true, msvc_mangling: false, |