mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-110079: Remove extern "C" { ...} in C code (#110080)
This commit is contained in:
parent
bfd94ab9e9
commit
8b626a47ba
18 changed files with 6 additions and 168 deletions
|
@ -28,10 +28,6 @@
|
|||
# error "Py_LIMITED_API macro must not be defined"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Defined in tracemalloc.c */
|
||||
extern void _PyMem_DumpTraceback(int fd, const void *ptr);
|
||||
|
||||
|
@ -2808,7 +2804,3 @@ int Py_IsFalse(PyObject *x)
|
|||
{
|
||||
return Py_Is(x, Py_False);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue