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
c3c2401c
Commit
c3c2401c
authored
Nov 18, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backed out temp type adaptation changes to use type.as_argument_type() instead
parent
64d22b6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+1
-6
No files found.
Cython/Compiler/ExprNodes.py
View file @
c3c2401c
...
...
@@ -9705,12 +9705,7 @@ class CoerceToTempNode(CoercionNode):
def
__init__
(
self
,
arg
,
env
):
CoercionNode
.
__init__
(
self
,
arg
)
temp_type
=
self
.
arg
.
type
if
temp_type
.
is_array
:
temp_type
=
PyrexTypes
.
c_ptr_type
(
temp_type
.
base_type
)
elif
temp_type
.
is_cfunction
:
temp_type
=
PyrexTypes
.
c_ptr_type
(
temp_type
)
self
.
type
=
temp_type
self
.
type
=
self
.
arg
.
type
self
.
constant_result
=
self
.
arg
.
constant_result
self
.
is_temp
=
1
if
self
.
type
.
is_pyobject
:
...
...
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