diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2016-10-21 15:49:22 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2016-10-21 15:54:49 -0700 |
commit | 9766391a8240a542396705e8105b7c58005250ae (patch) | |
tree | 2e2c151f420a39fbb6b1a05e1de507b89fe5e07a | |
parent | 8f8dc0fafbe6f178258b5f1a6a4a4b2e31172254 (diff) |
Remove `match_pat` options and builder methods
We don't support match patterns anymore.
-rwxr-xr-x | src/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -57,11 +57,6 @@ impl Builder { self.clang_arg(header) } - pub fn match_pat<T: Into<String>>(mut self, arg: T) -> Builder { - self.options.match_pat.insert(arg.into()); - self - } - pub fn hide_type<T: Into<String>>(mut self, arg: T) -> Builder { self.options.hidden_types.insert(arg.into()); self @@ -159,7 +154,6 @@ impl Builder { /// Deprecated - use a `Builder` instead #[derive(Debug)] pub struct BindgenOptions { - pub match_pat: HashSet<String>, pub hidden_types: HashSet<String>, pub opaque_types: HashSet<String>, pub whitelisted_types: RegexSet, @@ -194,7 +188,6 @@ pub struct BindgenOptions { impl Default for BindgenOptions { fn default() -> BindgenOptions { BindgenOptions { - match_pat: Default::default(), hidden_types: Default::default(), opaque_types: Default::default(), whitelisted_types: Default::default(), |