Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cpython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
cpython
Commits
c8b1c3bf0772
Commit
c8b1c3bf0772
authored
4 years ago
by
Andrew V. Jones
Browse files
Options
Downloads
Patches
Plain Diff
bpo-43816: Add extern "C" to Include/cpython/pyctype.h (GH-25365)
Signed-off-by:
Andrew V. Jones
<
andrew.jones@vector.com
>
parent
6058ec21f9ba
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Include/cpython/pyctype.h
+6
-0
6 additions, 0 deletions
Include/cpython/pyctype.h
with
6 additions
and
0 deletions
Include/cpython/pyctype.h
+
6
−
0
View file @
c8b1c3bf
#ifndef Py_LIMITED_API
#ifndef PYCTYPE_H
#define PYCTYPE_H
#ifdef __cplusplus
extern
"C"
{
#endif
#define PY_CTF_LOWER 0x01
#define PY_CTF_UPPER 0x02
...
...
@@ -29,5 +32,8 @@
#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
#ifdef __cplusplus
}
#endif
#endif
/* !PYCTYPE_H */
#endif
/* !Py_LIMITED_API */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment