summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5464675f..7e6cfcbc 100755
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -77,6 +77,11 @@ impl Builder {
self
}
+ pub fn whitelisted_function<T: Into<String>>(mut self, arg: T) -> Builder {
+ self.options.whitelisted_functions.insert(&arg.into());
+ self
+ }
+
pub fn raw_line<T: Into<String>>(mut self, arg: T) -> Builder {
self.options.raw_lines.push(arg.into());
self