summaryrefslogtreecommitdiffstats
path: root/Include/modsupport.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-23 21:09:29 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-23 21:09:29 (GMT)
commite4616e67525be58454db078594776c98450d8810 (patch)
treedcb340aed385280299166e6e9d5433da069bab5d /Include/modsupport.h
parent4855b0255437a30ff6565bf7b61dd91ac076f052 (diff)
downloadcpython-e4616e67525be58454db078594776c98450d8810.zip
cpython-e4616e67525be58454db078594776c98450d8810.tar.gz
cpython-e4616e67525be58454db078594776c98450d8810.tar.bz2
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 8ef343c..ccbabff 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);