From: Stefan Behnel Date: Fri, 6 Jun 2008 19:39:23 +0000 (+0200) Subject: code comments X-Git-Tag: 0.9.8rc1~11^2~10^2~6^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c40290b8807e83a7927124ffedfa3be2b70359b;p=cython.git code comments --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 587cd2c5..b65985cc 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -363,12 +363,14 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): def generate_declarations_for_modules(self, env, modules, code): code.putln("") - code.putln("/* Declarations */") + code.putln("/* Type declarations */") vtab_list, vtabslot_list = self.sort_type_hierarchy(modules, env) self.generate_type_definitions( env, modules, vtab_list, vtabslot_list, code) for module in modules: defined_here = module is env + code.putln("/* Module declarations from %s */" % + module.qualified_name.encode("ASCII", "ignore")) self.generate_global_declarations(module, code, defined_here) self.generate_cfunction_predeclarations(module, code, defined_here)