Commit 7b39a311 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix namespace conversion functions.

parent 0097e8be
...@@ -233,7 +233,7 @@ class CTypedefType(BaseType): ...@@ -233,7 +233,7 @@ class CTypedefType(BaseType):
def _create_utility_code(self, template_utility_code, def _create_utility_code(self, template_utility_code,
template_function_name): template_function_name):
type_name = self.typedef_cname.replace(" ","_") type_name = self.typedef_cname.replace(" ","_").replace("::","__")
utility_code = template_utility_code.specialize( utility_code = template_utility_code.specialize(
type = self.typedef_cname, type = self.typedef_cname,
TypeName = type_name) TypeName = type_name)
......
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