Skip to content

Commit 364a2d4

Browse files
committed
Remove the unused override_enum_ty option
1 parent 73e4115 commit 364a2d4

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

bindgen_plugin/src/bgmacro.rs

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ impl MacroArgsVisitor for BindgenArgsVisitor {
101101
Some("link_framework") => self.options.links.push((val.to_string(), LinkType::Framework)),
102102
Some("match") => self.options.match_pat.push(val.to_string()),
103103
Some("clang_args") => self.options.clang_args.push(val.to_string()),
104-
Some("enum_type") => self.options.override_enum_ty = val.to_string(),
105104
_ => return false
106105
}
107106
true

src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ pub struct BindgenOptions {
145145
pub namespaced_constants: bool,
146146
/// Whether to use msvc mangling rules
147147
pub msvc_mangling: bool,
148-
pub override_enum_ty: String,
149148
pub raw_lines: Vec<String>,
150149
pub clang_args: Vec<String>,
151150
}
@@ -165,7 +164,6 @@ impl Default for BindgenOptions {
165164
ignore_methods: false,
166165
derive_debug: true,
167166
enable_cxx_namespaces: false,
168-
override_enum_ty: "".to_string(),
169167
unstable_rust: true,
170168
namespaced_constants: true,
171169
msvc_mangling: false,

0 commit comments

Comments
 (0)