mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +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
|
@ -7,10 +7,6 @@
|
|||
#include "pycore_pylifecycle.h" // _PyArg_Fini
|
||||
#include "pycore_tuple.h" // _PyTuple_ITEMS()
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Export Stable ABIs (abi only) */
|
||||
PyAPI_FUNC(int) _PyArg_Parse_SizeT(PyObject *, const char *, ...);
|
||||
PyAPI_FUNC(int) _PyArg_ParseTuple_SizeT(PyObject *, const char *, ...);
|
||||
|
@ -2867,7 +2863,3 @@ _PyArg_Fini(void)
|
|||
}
|
||||
_PyRuntime.getargs.static_parsers = NULL;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue