Commit 547ae6db authored by Stefan Behnel's avatar Stefan Behnel

renamed file for module setup utility code to make it more generally usable

--HG--
rename : Cython/Utility/CModulePreamble.c => Cython/Utility/ModuleSetupCode.c
parent 37db8875
......@@ -503,7 +503,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("#else")
code.globalstate["end"].putln("#endif /* Py_PYTHON_H */")
code.put(UtilityCode.load_as_string("CModulePreamble")[1])
code.put(UtilityCode.load_as_string("CModulePreamble", "ModuleSetupCode.c")[1])
code.put("""
#if PY_MAJOR_VERSION >= 3
......
......@@ -216,3 +216,9 @@
#define __Pyx_NAMESTR(n) (n)
#define __Pyx_DOCSTR(n) (n)
#endif
/////////////// FindModuleFile ///////////////
static PyObject* __pyx_find_module_file(PyObject* module_name) {
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment