summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-11-21 10:17:25 +0100
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-11-21 19:18:28 +0100
commit326796e6af5e05135427fd42475ca20f2de38a41 (patch)
tree26cf3a46687f1dc332a4ca508f56e5f92fea8941
parentd62af02361be371ded003cb4d293aea8d0762ae9 (diff)
ir: Explicitly bypass NamespaceRef's
-rw-r--r--libbindgen/src/ir/ty.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbindgen/src/ir/ty.rs b/libbindgen/src/ir/ty.rs
index 60611b8d..1980b088 100644
--- a/libbindgen/src/ir/ty.rs
+++ b/libbindgen/src/ir/ty.rs
@@ -709,6 +709,9 @@ impl Type {
ctx);
return Ok(ParseResult::AlreadyResolved(item));
}
+ CXCursor_NamespaceRef => {
+ return Err(ParseError::Continue);
+ }
_ => {
if ty.kind() == CXType_Unexposed {
warn!("Unexposed type {:?}, recursing inside, \