summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2016-10-21 16:24:17 -0700
committerNick Fitzgerald <fitzgen@gmail.com>2016-10-21 16:24:17 -0700
commit28dbdfa4ca4980cbb6de146a2358a71d639eb043 (patch)
tree5517aa58e94614d3d0ebc46627411677166d6ac2
parent9766391a8240a542396705e8105b7c58005250ae (diff)
Remove the dtor_attrs option
It is unused.
-rwxr-xr-xsrc/lib.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4a8cc6fe..b06b4b52 100755
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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![],
}
}