summaryrefslogtreecommitdiffstats
path: root/Include/tupleobject.h
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-11-01 13:46:50 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-11-01 13:46:50 (GMT)
commit615194a3526ce2cd50a255113470ba24e3fca0b9 (patch)
treeb4619ccf736036474866cbbe53a22bafd96b6bc0 /Include/tupleobject.h
parent0a2fa75a9c2d6618b5fc9e4745551adfc7dd4aba (diff)
downloadcpython-615194a3526ce2cd50a255113470ba24e3fca0b9.zip
cpython-615194a3526ce2cd50a255113470ba24e3fca0b9.tar.gz
cpython-615194a3526ce2cd50a255113470ba24e3fca0b9.tar.bz2
Fixed bugs in resizetuple and extended the interface.
Added ifdefs in stringobject.c for shared strings of length 1. Renamed free_list in tupleobject.c to free_tuples.
Diffstat (limited to 'Include/tupleobject.h')
-rw-r--r--Include/tupleobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/tupleobject.h b/Include/tupleobject.h
index 8fe28a2..9897f6d 100644
--- a/Include/tupleobject.h
+++ b/Include/tupleobject.h
@@ -58,7 +58,7 @@ extern int gettuplesize PROTO((object *));
extern object *gettupleitem PROTO((object *, int));
extern int settupleitem PROTO((object *, int, object *));
extern object *gettupleslice PROTO((object *, int, int));
-extern int resizetuple PROTO((object **, int));
+extern int resizetuple PROTO((object **, int, int));
/* Macro, trading safety for speed */
#define GETTUPLEITEM(op, i) ((op)->ob_item[i])