Commits

Anthony Baxter  committed add0078

PyAPI_FUNC() the PyArg_.*SizeT forms. Without this, cygwin has hysterics.
(see buildbot)

  • Participants
  • Parent commits b603307
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Include/modsupport.h

 #define PyArg_VaParseTupleAndKeywords	_PyArg_VaParseTupleAndKeywords_SizeT
 #define PyArg_BuildValue		_PyArg_BuildValue_SizeT
 #define PyArg_VaBuildValue		_PyArg_VaBuildValue_SizeT
+#else
+#if HAVE_DECLSPEC_DLL
+PyAPI_FUNC(int) _PyArg_Parse_SizeT(PyObject *, char *, ...);
+PyAPI_FUNC(int) _PyArg_ParseTuple_SizeT(PyObject *, char *, ...);
+PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywords_SizeT(PyObject *, PyObject *,
+                                                  const char *, char **, ...);
+PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...);
+PyAPI_FUNC(int) _PyArg_VaParse_SizeT(PyObject *, char *, va_list);
+PyAPI_FUNC(int) _PyArg_VaParseTupleAndKeywords_SizeT(PyObject *, PyObject *,
+                                              const char *, char **, va_list);
+PyAPI_FUNC(PyObject *) _Py_VaBuildValue_SizeT(const char *, va_list);
+#endif
 #endif
 
 PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);