From: Robert Bradshaw Date: Fri, 27 Aug 2010 07:42:47 +0000 (-0700) Subject: Fix namespace conversion functions. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b39a3116025eff4d16765833b13d390ff316342;p=cython.git Fix namespace conversion functions. --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index 68437e3d..993d784a 100755 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -233,7 +233,7 @@ class CTypedefType(BaseType): def _create_utility_code(self, template_utility_code, template_function_name): - type_name = self.typedef_cname.replace(" ","_") + type_name = self.typedef_cname.replace(" ","_").replace("::","__") utility_code = template_utility_code.specialize( type = self.typedef_cname, TypeName = type_name)