Kaydet (Commit) 97300387 authored tarafından Anthony Baxter's avatar Anthony Baxter

avoid C++ name mangling for the _Py.*SizeT functions

üst d6495b59
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
#include <ctype.h> #include <ctype.h>
#ifdef __cplusplus
extern "C" {
#endif
int PyArg_Parse(PyObject *, const char *, ...); int PyArg_Parse(PyObject *, const char *, ...);
int PyArg_ParseTuple(PyObject *, const char *, ...); int PyArg_ParseTuple(PyObject *, const char *, ...);
int PyArg_VaParse(PyObject *, const char *, va_list); int PyArg_VaParse(PyObject *, const char *, va_list);
...@@ -1742,3 +1745,6 @@ _PyArg_NoKeywords(const char *funcname, PyObject *kw) ...@@ -1742,3 +1745,6 @@ _PyArg_NoKeywords(const char *funcname, PyObject *kw)
funcname); funcname);
return 0; return 0;
} }
#ifdef __cplusplus
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment