diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2016-10-21 16:24:17 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2016-10-21 16:24:17 -0700 |
commit | 28dbdfa4ca4980cbb6de146a2358a71d639eb043 (patch) | |
tree | 5517aa58e94614d3d0ebc46627411677166d6ac2 | |
parent | 9766391a8240a542396705e8105b7c58005250ae (diff) |
Remove the dtor_attrs option
It is unused.
-rwxr-xr-x | src/lib.rs | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -107,11 +107,6 @@ impl Builder { self } - pub fn dtor_attr<T: Into<String>>(mut self, attr: T) -> Builder { - self.options.dtor_attrs.push(attr.into()); - self - } - pub fn forbid_unknown_types(mut self) -> Builder { self.options.fail_on_unknown_type = true; self @@ -180,8 +175,6 @@ pub struct BindgenOptions { pub msvc_mangling: bool, pub override_enum_ty: String, pub raw_lines: Vec<String>, - /// Attributes for a type with destructor - pub dtor_attrs: Vec<String>, pub clang_args: Vec<String>, } @@ -210,7 +203,6 @@ impl Default for BindgenOptions { namespaced_constants: true, msvc_mangling: false, raw_lines: vec![], - dtor_attrs: vec![], clang_args: vec![], } } |