We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d9d5bf commit 15ad30dCopy full SHA for 15ad30d
Include/pyctype.h
@@ -1,6 +1,9 @@
1
#ifndef Py_LIMITED_API
2
#ifndef PYCTYPE_H
3
#define PYCTYPE_H
4
+#ifdef __cplusplus
5
+extern "C" {
6
+#endif
7
8
#define PY_CTF_LOWER 0x01
9
#define PY_CTF_UPPER 0x02
@@ -29,5 +32,8 @@ PyAPI_DATA(const unsigned char) _Py_ctype_toupper[256];
29
32
#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
30
33
#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
31
34
35
36
+}
37
38
#endif /* !PYCTYPE_H */
39
#endif /* !Py_LIMITED_API */
0 commit comments