From: W. Trevor King Date: Wed, 9 Mar 2011 20:16:09 +0000 (-0500) Subject: Fix extern -> c_visibility consolidation in Scope.declare_cpp_class. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53bfb32bbaaeef3f2389eee84c89086eabcf10da;p=cython.git Fix extern -> c_visibility consolidation in Scope.declare_cpp_class. --- 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