PyArg_UnpackTuple(): New argument unpacking function suggested by Jim

Fulton, based on code Jim supplied.
This commit is contained in:
Fred Drake 2001-10-23 21:09:29 +00:00
parent 4855b02554
commit e4616e6752
2 changed files with 61 additions and 0 deletions

View file

@ -13,6 +13,7 @@ extern DL_IMPORT(int) PyArg_Parse(PyObject *, char *, ...);
extern DL_IMPORT(int) PyArg_ParseTuple(PyObject *, char *, ...);
extern DL_IMPORT(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
char *, char **, ...);
extern DL_IMPORT(int) PyArg_UnpackTuple(PyObject *, char *, int, int, ...);
extern DL_IMPORT(PyObject *) Py_BuildValue(char *, ...);
extern DL_IMPORT(int) PyArg_VaParse(PyObject *, char *, va_list);