[Python-checkins] r45292 - python/trunk/Python/getargs.c
anthony.baxter
python-checkins at python.org
Wed Apr 12 06:38:55 CEST 2006
Author: anthony.baxter
Date: Wed Apr 12 06:38:54 2006
New Revision: 45292
Modified:
python/trunk/Python/getargs.c
Log:
avoid C++ name mangling for the _Py.*SizeT functions
Modified: python/trunk/Python/getargs.c
==============================================================================
--- python/trunk/Python/getargs.c (original)
+++ python/trunk/Python/getargs.c Wed Apr 12 06:38:54 2006
@@ -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
More information about the Python-checkins
mailing list