Commit d6190df0 authored by Isuru Fernando's avatar Isuru Fernando

Typedefs inside typedefs are not external

Use create_typedef_type instead of creating directly
parent 439c7b83
...@@ -395,8 +395,8 @@ class CTypedefType(BaseType): ...@@ -395,8 +395,8 @@ class CTypedefType(BaseType):
if base_type is self.typedef_base_type and namespace is self.typedef_namespace: if base_type is self.typedef_base_type and namespace is self.typedef_namespace:
return self return self
else: else:
return CTypedefType(self.typedef_name, base_type, self.typedef_cname, return create_typedef_type(self.typedef_name, base_type, self.typedef_cname,
self.typedef_is_external, namespace) 0, namespace)
def __repr__(self): def __repr__(self):
return "<CTypedefType %s>" % self.typedef_cname return "<CTypedefType %s>" % self.typedef_cname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment