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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
6d56f108
Commit
6d56f108
authored
Mar 09, 2010
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tescase for cast to pointer from integer of different size in 64bits
parent
36a1ded3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
tests/run/ctruthtests.pyx
tests/run/ctruthtests.pyx
+8
-1
No files found.
tests/run/ctruthtests.pyx
View file @
6d56f108
...
...
@@ -77,9 +77,16 @@ def test_attr_int(TestExtInt e):
else
:
return
False
ctypedef
union
_aux
:
int
i
void
*
p
cdef
class
TestExtPtr
:
cdef
void
*
p
def
__init__
(
self
,
int
i
):
self
.
p
=
<
void
*>
i
def
__init__
(
self
,
int
i
):
cdef
_aux
aux
aux
.
i
=
i
self
.
p
=
aux
.
p
def
test_attr_ptr
(
TestExtPtr
e
):
"""
...
...
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