From 7b39a3116025eff4d16765833b13d390ff316342 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 27 Aug 2010 00:42:47 -0700 Subject: [PATCH] Fix namespace conversion functions. --- Cython/Compiler/PyrexTypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2