diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-23 21:09:29 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-23 21:09:29 +0000 |
commit | e4616e67525be58454db078594776c98450d8810 (patch) | |
tree | dcb340aed385280299166e6e9d5433da069bab5d /Include/modsupport.h | |
parent | Fill out section on how to write a new-style class (diff) | |
download | cpython-e4616e67525be58454db078594776c98450d8810.tar.gz cpython-e4616e67525be58454db078594776c98450d8810.tar.bz2 cpython-e4616e67525be58454db078594776c98450d8810.zip |
PyArg_UnpackTuple(): New argument unpacking function suggested by Jim
Fulton, based on code Jim supplied.
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r-- | Include/modsupport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h index 8ef343c6d75..ccbabffd946 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -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); |