Fix extern -> c_visibility consolidation in Scope.declare_cpp_class.
authorW. Trevor King <wking@drexel.edu>
Wed, 9 Mar 2011 20:16:09 +0000 (15:16 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 9 Mar 2011 20:16:09 +0000 (15:16 -0500)
Cython/Compiler/Symtab.py

index 5cec8f6b116e6b26202295458ccc3125140869fd..2efa2041b922ce2fd29e9aa4a3968bf730a5307c 100644 (file)
@@ -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