aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-23 21:09:29 +0000
committerFred Drake <fdrake@acm.org>2001-10-23 21:09:29 +0000
commite4616e67525be58454db078594776c98450d8810 (patch)
treedcb340aed385280299166e6e9d5433da069bab5d /Include/modsupport.h
parentFill out section on how to write a new-style class (diff)
downloadcpython-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.h1
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);