summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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, \