Message189210
In C++ we may overload functions for backward compatibility:
PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
const char *, const char * const *, ...);
PyAPI_FUNC(int) PyArg_VaParseTupleAndKeywords(PyObject *, PyObject *,
const char *, const char * const *, va_list va);
...
#ifdef __cplusplus
inline int
PyArg_ParseTupleAndKeywords(PyObject *args, PyObject *keywords,
const char *format, char * const *kwlist, ...)
{
int retval;
va_list va;
va_start(va, kwlist);
retval = PyArg_ParseTupleAndKeywords(args, keywords, format,
(const char * const *)kwlist, va_start);
va_end(va);
return retval;
}
#endif |
|
Date |
User |
Action |
Args |
2013-05-14 11:57:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, amaury.forgeotdarc, belopolsky, gustavo, pitrou, dgreiman, ext-, eli.bendersky |
2013-05-14 11:57:11 | serhiy.storchaka | set | messageid: <1368532631.42.0.810625836433.issue1772673@psf.upfronthosting.co.za> |
2013-05-14 11:57:11 | serhiy.storchaka | link | issue1772673 messages |
2013-05-14 11:57:11 | serhiy.storchaka | create | |
|