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

(see buildbot)
This commit is contained in:
Anthony Baxter 2006-04-04 12:27:20 +00:00
parent 76c21bdb46
commit 46854bc7e4
1 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,18 @@ extern "C" {
#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 *, ...);