[Lxml-checkins] r44124 - lxml/pyrex/Pyrex/Compiler

scoder at codespeak.net scoder at codespeak.net
Sun Jun 10 16:41:06 CEST 2007


Author: scoder
Date: Sun Jun 10 16:41:04 2007
New Revision: 44124

Modified:
   lxml/pyrex/Pyrex/Compiler/ModuleNode.py
Log:
bug fix by Arc Riley

Modified: lxml/pyrex/Pyrex/Compiler/ModuleNode.py
==============================================================================
--- lxml/pyrex/Pyrex/Compiler/ModuleNode.py	(original)
+++ lxml/pyrex/Pyrex/Compiler/ModuleNode.py	Sun Jun 10 16:41:04 2007
@@ -383,7 +383,8 @@
                 entry.type.typeptr_cname)
         code.put_var_declarations(env.var_entries, static = 1, 
             dll_linkage = "DL_EXPORT", definition = definition)
-        code.put_var_declarations(env.default_entries, static = 1)
+        code.put_var_declarations(env.default_entries, static = 1,
+                                  definition = definition)
     
     def generate_cfunction_predeclarations(self, env, code):
         for entry in env.cfunc_entries:


More information about the lxml-checkins mailing list