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