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
Xavier Thompson
cython
Commits
341650c4
Commit
341650c4
authored
Jul 06, 2017
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid unneeded 32/64-bit differences.
This fixes #1763.
parent
749d07b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/run/carray_coercion.pyx
tests/run/carray_coercion.pyx
+2
-2
No files found.
tests/run/carray_coercion.pyx
View file @
341650c4
...
...
@@ -6,7 +6,7 @@ IS_32BIT_PY2 = not IS_PY3 and sys.maxint < 2**32
from
libc
cimport
stdint
from
libc.stdint
cimport
int
64_t
as
my_int64
_t
from
libc.stdint
cimport
int
16_t
as
my_int16
_t
def
unlongify
(
v
):
...
...
@@ -88,7 +88,7 @@ def from_cimported_as_int_array():
>>> from_cimported_as_int_array()
[1, 2, 3]
"""
cdef
my_int
64
_t
[
3
]
v
cdef
my_int
16
_t
[
3
]
v
v
[
0
]
=
1
v
[
1
]
=
2
v
[
2
]
=
3
...
...
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