[Python-checkins] r43627 - python/trunk/Include/modsupport.h (original) (raw)

anthony.baxter python-checkins at python.org
Tue Apr 4 14:27:21 CEST 2006


Author: anthony.baxter Date: Tue Apr 4 14:27:20 2006 New Revision: 43627

Modified: python/trunk/Include/modsupport.h Log: PyAPI_FUNC() the PyArg_.*SizeT forms. Without this, cygwin has hysterics. (see buildbot)

Modified: python/trunk/Include/modsupport.h

--- python/trunk/Include/modsupport.h (original) +++ python/trunk/Include/modsupport.h Tue Apr 4 14:27:20 2006 @@ -19,6 +19,18 @@ #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 *,

+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 *,

+PyAPI_FUNC(PyObject *) _Py_VaBuildValue_SizeT(const char *, va_list); +#endif #endif

PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);



More information about the Python-checkins mailing list