mirror of
https://github.com/python/cpython.git
synced 2025-07-28 05:34:31 +00:00
avoid C++ name mangling for the _Py.*SizeT functions
This commit is contained in:
parent
d6495b5944
commit
97300387ec
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
|||
#include <ctype.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
int PyArg_Parse(PyObject *, const char *, ...);
|
||||
int PyArg_ParseTuple(PyObject *, const char *, ...);
|
||||
int PyArg_VaParse(PyObject *, const char *, va_list);
|
||||
|
@ -1742,3 +1745,6 @@ _PyArg_NoKeywords(const char *funcname, PyObject *kw)
|
|||
funcname);
|
||||
return 0;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue