Skip to content

Commit 9766391

Browse files
committed
Remove match_pat options and builder methods
We don't support match patterns anymore.
1 parent 8f8dc0f commit 9766391

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ impl Builder {
5757
self.clang_arg(header)
5858
}
5959

60-
pub fn match_pat<T: Into<String>>(mut self, arg: T) -> Builder {
61-
self.options.match_pat.insert(arg.into());
62-
self
63-
}
64-
6560
pub fn hide_type<T: Into<String>>(mut self, arg: T) -> Builder {
6661
self.options.hidden_types.insert(arg.into());
6762
self
@@ -159,7 +154,6 @@ impl Builder {
159154
/// Deprecated - use a `Builder` instead
160155
#[derive(Debug)]
161156
pub struct BindgenOptions {
162-
pub match_pat: HashSet<String>,
163157
pub hidden_types: HashSet<String>,
164158
pub opaque_types: HashSet<String>,
165159
pub whitelisted_types: RegexSet,
@@ -194,7 +188,6 @@ pub struct BindgenOptions {
194188
impl Default for BindgenOptions {
195189
fn default() -> BindgenOptions {
196190
BindgenOptions {
197-
match_pat: Default::default(),
198191
hidden_types: Default::default(),
199192
opaque_types: Default::default(),
200193
whitelisted_types: Default::default(),

0 commit comments

Comments
 (0)