summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0c207a2f..85d55599 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -696,6 +696,12 @@ impl Builder {
self
}
+ /// Deprecated alias for allowlist_recursively.
+ #[deprecated(note = "Use allowlist_recursively instead")]
+ pub fn whitelist_recursively(self, doit: bool) -> Self {
+ self.allowlist_recursively(doit)
+ }
+
/// Generate `#[macro_use] extern crate objc;` instead of `use objc;`
/// in the prologue of the files generated from objective-c files
pub fn objc_extern_crate(mut self, doit: bool) -> Self {