[Python-checkins] python/dist/src/Include tupleobject.h,2.28,2.29
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sun Oct 12 14:24:36 EDT 2003
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv25726/Include
Modified Files:
tupleobject.h
Log Message:
Extended tuple's C API to include a new function, PyTuple_Pack() that is
useful for rapidly building argument tuples without having to invoke the
more sophisticated machinery of Py_BuildValue().
Index: tupleobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/tupleobject.h,v
retrieving revision 2.28
retrieving revision 2.29
diff -C2 -d -r2.28 -r2.29
*** tupleobject.h 12 Aug 2002 07:21:57 -0000 2.28
--- tupleobject.h 12 Oct 2003 18:24:33 -0000 2.29
***************
*** 36,39 ****
--- 36,40 ----
PyAPI_FUNC(PyObject *) PyTuple_GetSlice(PyObject *, int, int);
PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, int);
+ PyAPI_FUNC(PyObject *) PyTuple_Pack(int, ...);
/* Macro, trading safety for speed */
More information about the Python-checkins
mailing list