Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
3c520a8e
Commit
3c520a8e
authored
Apr 04, 2008
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup unsused functions/labels
parent
544f9242
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Cython/Compiler/ModuleNode.py
Cython/Compiler/ModuleNode.py
+1
-2
No files found.
Cython/Compiler/ModuleNode.py
View file @
3c520a8e
...
...
@@ -1425,7 +1425,6 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code
.
putln
(
"/*--- Function import code ---*/"
)
for
module
in
imported_modules
:
self
.
generate_c_function_import_code_for_module
(
module
,
env
,
code
)
env
.
use_utility_code
(
function_import_utility_code
)
code
.
putln
(
'init2%s();'
%
env
.
module_name
)
if
Options
.
generate_cleanup_code
:
code
.
putln
(
"if (__Pyx_RegisterCleanup()) %s;"
%
code
.
error_goto
(
self
.
pos
))
...
...
@@ -1437,6 +1436,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code
.
putln
(
'}'
)
def
generate_module_init2_func
(
self
,
imported_modules
,
env
,
code
):
code
.
init_labels
()
code
.
putln
(
""
)
header
=
"PyMODINIT_FUNC init2%s(void)"
%
env
.
module_name
code
.
putln
(
"%s; /*proto*/"
%
header
)
...
...
@@ -1647,7 +1647,6 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
self
.
generate_type_import_code
(
env
,
base_type
,
self
.
pos
,
code
)
def
use_type_import_utility_code
(
self
,
env
):
import
ExprNodes
env
.
use_utility_code
(
type_import_utility_code
)
env
.
use_utility_code
(
import_module_utility_code
)
...
...
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