summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2012-12-09 12:04:59 +0100
committerStefan Behnel <stefan_ml@behnel.de>2012-12-09 12:04:59 +0100
commit97c614354acca3f72e69060fc13116f20ba85030 (patch)
tree0c585458960aba59c4f700db54d5698b1a2277b0 /Cython/Compiler/ModuleNode.py
parentfcee9e0e745d82188de9365c1d22604a010f0617 (diff)
downloadcython-97c614354acca3f72e69060fc13116f20ba85030.tar.gz
move some helper code into external utility code files
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r--Cython/Compiler/ModuleNode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
index 5a7351821..02ccb31f5 100644
--- a/Cython/Compiler/ModuleNode.py
+++ b/Cython/Compiler/ModuleNode.py
@@ -555,8 +555,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("#define CYTHON_CCOMPLEX 1")
code.putln("#endif")
code.putln("")
- code.put(Nodes.utility_function_predeclarations)
- code.put(PyrexTypes.type_conversion_predeclarations)
+ code.put(UtilityCode.load_cached("UtilityFunctionPredeclarations", "ModuleSetupCode.c").proto)
+ code.put(UtilityCode.load_cached("TypeConversions", "TypeConversion.c").proto)
code.put(Nodes.branch_prediction_macros)
code.putln('')
code.putln('static PyObject *%s;' % env.module_cname)