Skip to content
Snippets Groups Projects
Commit c8b1c3bf0772 authored by Andrew V. Jones's avatar Andrew V. Jones
Browse files

bpo-43816: Add extern "C" to Include/cpython/pyctype.h (GH-25365)

parent 6058ec21f9ba
Branches
No related tags found
No related merge requests found
#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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment