summaryrefslogtreecommitdiff
path: root/libbindgen/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/src/lib.rs')
-rw-r--r--libbindgen/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbindgen/src/lib.rs b/libbindgen/src/lib.rs
index 177e67cd..f25c6cdf 100644
--- a/libbindgen/src/lib.rs
+++ b/libbindgen/src/lib.rs
@@ -254,6 +254,9 @@ impl Builder {
/// Note that this intentionally doesn't change the names using for
/// whitelisting and blacklisting, that should still be mangled with the
/// namespaces.
+ ///
+ /// Note, also, that using this option may cause duplicated names to be
+ /// generated.
pub fn disable_name_namespacing(mut self) -> Builder {
self.options.disable_name_namespacing = true;
self