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
Gwenaël Samain
cython
Commits
ee308712
Commit
ee308712
authored
Jul 30, 2011
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Py 2.4 fixes."
PyDict_Next went from int* to Py_ssize_t*. This reverts commit
7932ecf3
.
parent
6c9398f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Compiler/ModuleNode.py
Cython/Compiler/ModuleNode.py
+3
-3
No files found.
Cython/Compiler/ModuleNode.py
View file @
ee308712
...
...
@@ -523,9 +523,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
#endif
#if PY_VERSION_HEX < 0x02050000
typedef
long
Py_ssize_t;
#define PY_SSIZE_T_MAX
LONG
_MAX
#define PY_SSIZE_T_MIN
LONG
_MIN
typedef
int
Py_ssize_t;
#define PY_SSIZE_T_MAX
INT
_MAX
#define PY_SSIZE_T_MIN
INT
_MIN
#define PY_FORMAT_SIZE_T
\
"
\
"
#define PyInt_FromSsize_t(z) PyInt_FromLong(z)
#define PyInt_AsSsize_t(o) PyInt_AsLong(o)
...
...
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