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
36225c6a
Commit
36225c6a
authored
Oct 04, 2011
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix linking failures under Windows
parent
ed8ba144
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Include/pyctype.h
Include/pyctype.h
+3
-3
No files found.
Include/pyctype.h
View file @
36225c6a
...
...
@@ -10,7 +10,7 @@
#define PY_CTF_SPACE 0x08
#define PY_CTF_XDIGIT 0x10
extern
const
unsigned
int
_Py_ctype_table
[
256
];
PyAPI_DATA
(
const
unsigned
int
)
_Py_ctype_table
[
256
];
/* Unlike their C counterparts, the following macros are not meant to
* handle an int with any of the values [EOF, 0-UCHAR_MAX]. The argument
...
...
@@ -23,8 +23,8 @@ extern const unsigned int _Py_ctype_table[256];
#define Py_ISALNUM(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
#define Py_ISSPACE(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
extern
const
unsigned
char
_Py_ctype_tolower
[
256
];
extern
const
unsigned
char
_Py_ctype_toupper
[
256
];
PyAPI_DATA
(
const
unsigned
char
)
_Py_ctype_tolower
[
256
];
PyAPI_DATA
(
const
unsigned
char
)
_Py_ctype_toupper
[
256
];
#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
...
...
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