Commit a9a4b5f5 authored by Stefan Behnel's avatar Stefan Behnel

mark beginning of utility code in C file

parent 9fe513fe
...@@ -966,14 +966,15 @@ class GlobalState(object): ...@@ -966,14 +966,15 @@ class GlobalState(object):
w.putln("") w.putln("")
w.putln("static void __Pyx_CleanupGlobals(void) {") w.putln("static void __Pyx_CleanupGlobals(void) {")
# code = self.parts['utility_code_proto']
# utility_code_def code.putln("")
# code.putln("/* --- Runtime support code (head) --- */")
code = self.parts['utility_code_def'] code = self.parts['utility_code_def']
if self.emit_linenums: if self.emit_linenums:
code.write('\n#line 1 "cython_utility"\n') code.write('\n#line 1 "cython_utility"\n')
code.putln("") code.putln("")
code.putln("/* Runtime support code */") code.putln("/* --- Runtime support code --- */")
def finalize_main_c_code(self): def finalize_main_c_code(self):
self.close_global_decls() self.close_global_decls()
......
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