diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-04-06 11:15:08 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-04-06 11:19:22 +0200 |
commit | af2c8b8430f3fd3608c68d573e5c6d53bc1a399f (patch) | |
tree | 90e3cdc7b3b678be280a8ed726e2c21daeab7bcd | |
parent | bf61569d30b368e50cb43e12b8efbff573a8c01e (diff) |
Re-introduce whitelist_recursively (with deprecation notice)
Seems like an oversight from #1990.
Fixes #2022.
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 { |