From 53bfb32bbaaeef3f2389eee84c89086eabcf10da Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 9 Mar 2011 15:16:09 -0500 Subject: [PATCH] Fix extern -> c_visibility consolidation in Scope.declare_cpp_class. --- Cython/Compiler/Symtab.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index 5cec8f6b..2efa2041 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -469,8 +469,7 @@ class Scope(object): if templates is not None: for T in templates: binding = Binding( - name=T.name, cname=T.name, - extern=True, c_visibility='public') + name=T.name, cname=T.name, c_visibility='extern') template_entry = entry.type.scope.declare(binding, type=T) template_entry.is_type = 1 -- 2.26.2