[Python-checkins] python/dist/src/Python ceval.c,2.317,2.318
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Wed, 17 Jul 2002 09:30:41 -0700
- Previous message: [Python-checkins] python/dist/src/Objects dictobject.c,2.127,2.128 floatobject.c,2.113,2.114 intobject.c,2.84,2.85 listobject.c,2.120,2.121 longobject.c,1.119,1.120 rangeobject.c,2.42,2.43 stringobject.c,2.169,2.170 tupleobject.c,2.69,2.70 typeobject.c,2.160,2.161 unicodeobject.c,2.155,2.156 xxobject.c,2.20,2.21
- Next message: [Python-checkins] python/dist/src/Tools/bgen/bgen bgenObjectDefinition.py,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv17711/Python
Modified Files:
ceval.c
Log Message:
staticforward bites the dust.
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure. Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers. (In
fact, we expect that the compilers are all fixed eight years later.)
I'm leaving staticforward and statichere defined in object.h as
static. This is only for backwards compatibility with C extensions
that might still use it.
XXX I haven't updated the documentation.
Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.317
retrieving revision 2.318
diff -C2 -d -r2.317 -r2.318
*** ceval.c 17 Jul 2002 00:15:22 -0000 2.317
--- ceval.c 17 Jul 2002 16:30:38 -0000 2.318
***************
*** 85,89 ****
#endif
! staticforward PyTypeObject gentype;
typedef struct {
--- 85,89 ----
#endif
! static PyTypeObject gentype;
typedef struct {
- Previous message: [Python-checkins] python/dist/src/Objects dictobject.c,2.127,2.128 floatobject.c,2.113,2.114 intobject.c,2.84,2.85 listobject.c,2.120,2.121 longobject.c,1.119,1.120 rangeobject.c,2.42,2.43 stringobject.c,2.169,2.170 tupleobject.c,2.69,2.70 typeobject.c,2.160,2.161 unicodeobject.c,2.155,2.156 xxobject.c,2.20,2.21
- Next message: [Python-checkins] python/dist/src/Tools/bgen/bgen bgenObjectDefinition.py,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]