Fix CClassDefNode extern setup in PyClassDefNode.as_cclass().
authorW. Trevor King <wking@drexel.edu>
Thu, 3 Mar 2011 14:47:49 +0000 (09:47 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 3 Mar 2011 14:47:49 +0000 (09:47 -0500)
Cython/Compiler/Nodes.py

index dbd2762021430c2e8b4d9c73bac87954c7957599..9c92b8c407bfb23b043e73314c66c701e202ccf6 100644 (file)
@@ -3082,7 +3082,7 @@ class PyClassDefNode(ClassDefNode):
             return None
 
         return CClassDefNode(self.pos,
-                             extern = 'false',
+                             extern = 0,
                              c_visibility = 'private',
                              visibility = 'public',
                              module_name = None,