Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1d2b0e3f
Commit
1d2b0e3f
authored
May 26, 2006
by
Bob Ippolito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable PY_USE_INT_WHEN_POSSIBLE in struct
parent
685dda8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Modules/_struct.c
Modules/_struct.c
+1
-3
No files found.
Modules/_struct.c
View file @
1d2b0e3f
...
@@ -16,12 +16,10 @@ typedef int Py_ssize_t;
...
@@ -16,12 +16,10 @@ typedef int Py_ssize_t;
#endif
#endif
/* PY_USE_INT_WHEN_POSSIBLE is a
n experimental
flag that changes the
/* PY_USE_INT_WHEN_POSSIBLE is a flag that changes the
struct API to return int instead of long when possible. This is
struct API to return int instead of long when possible. This is
often a significant performance improvement. */
often a significant performance improvement. */
/*
#define PY_USE_INT_WHEN_POSSIBLE 1
#define PY_USE_INT_WHEN_POSSIBLE 1
*/
/* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments
/* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments
to be packed. This will break some incorrect code that happened
to be packed. This will break some incorrect code that happened
...
...
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