summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a1de79aa..63e1a819 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -41,6 +41,11 @@ impl<'a> Builder<'a> {
self.clang_arg(header)
}
+ pub fn match_pat<T: Into<String>>(&mut self, arg: T) -> &mut Self {
+ self.options.match_pat.push(arg.into());
+ self
+ }
+
pub fn clang_arg<T: Into<String>>(&mut self, arg: T) -> &mut Self {
self.options.clang_args.push(arg.into());
self