diff Python/getargs.c @ 37619:f19addd69ad9 legacy-trunk

avoid C++ name mangling for the _Py.*SizeT functions
author Anthony Baxter <anthonybaxter@gmail.com>
date Wed, 12 Apr 2006 04:38:54 +0000
parents 64ff3b225d48
children a4231aa3201a
line wrap: on
line diff
--- a/Python/getargs.c	Wed Apr 12 04:29:01 2006 +0000
+++ b/Python/getargs.c	Wed Apr 12 04:38:54 2006 +0000
@@ -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