commit | 97300387ec2a8d4ad7e10119c61c315dab21e54a | [log] [tgz] |
---|---|---|
author | Anthony Baxter <anthonybaxter@gmail.com> | Wed Apr 12 04:38:54 2006 +0000 |
committer | Anthony Baxter <anthonybaxter@gmail.com> | Wed Apr 12 04:38:54 2006 +0000 |
tree | 4ddfd07e98059a5ccbf207ab692b537475f1dafa | |
parent | d6495b5944b9fd5ac3c142cf79957084f47a3024 [diff] [blame] |
avoid C++ name mangling for the _Py.*SizeT functions
diff --git a/Python/getargs.c b/Python/getargs.c index 8ee7d2f..8143d33 100644 --- a/Python/getargs.c +++ b/Python/getargs.c
@@ -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 @@ funcname); return 0; } +#ifdef __cplusplus +}; +#endif