diff options
-rw-r--r-- | src/ir/ty.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/ty.rs b/src/ir/ty.rs index 329f4f54..46083881 100644 --- a/src/ir/ty.rs +++ b/src/ir/ty.rs @@ -1268,6 +1268,7 @@ impl Type { CXType_ObjCInterface => { let interface = ObjCInterface::from_ty(&location.unwrap(), ctx) .expect("Not a valid objc interface?"); + name = interface.rust_name(); TypeKind::ObjCInterface(interface) } _ => { |