Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
cython
Commits
a9a4b5f5
Commit
a9a4b5f5
authored
10 years ago
by
Stefan Behnel
Browse files
Options
Download
Email Patches
Plain Diff
mark beginning of utility code in C file
parent
9fe513fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Cython/Compiler/Code.py
Cython/Compiler/Code.py
+5
-4
No files found.
Cython/Compiler/Code.py
View file @
a9a4b5f5
...
...
@@ -966,14 +966,15 @@ class GlobalState(object):
w
.
putln
(
""
)
w
.
putln
(
"static void __Pyx_CleanupGlobals(void) {"
)
#
# utility_code_def
#
code
=
self
.
parts
[
'utility_code_proto'
]
code
.
putln
(
""
)
code
.
putln
(
"/* --- Runtime support code (head) --- */"
)
code
=
self
.
parts
[
'utility_code_def'
]
if
self
.
emit_linenums
:
code
.
write
(
'
\n
#line 1 "cython_utility"
\n
'
)
code
.
putln
(
""
)
code
.
putln
(
"/* Runtime support code */"
)
code
.
putln
(
"/*
---
Runtime support code
---
*/"
)
def
finalize_main_c_code
(
self
):
self
.
close_global_decls
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment