]> granicus.if.org Git - python/commit
More C++-compliance. Note especially listobject.c - to get C++ to accept the
authorAnthony Baxter <anthonybaxter@gmail.com>
Tue, 11 Apr 2006 06:54:30 +0000 (06:54 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Tue, 11 Apr 2006 06:54:30 +0000 (06:54 +0000)
commit377be11ee1fab015f4cc77975374f86cf436536e
tree3181b8a7ebd32101aa56048eaa2f96a98b8bf013
parentbbfe4fad361e7190675f28702332ddc377bd8cfd
More C++-compliance. Note especially listobject.c - to get C++ to accept the
PyTypeObject structures, I had to make prototypes for the functions, and
move the structure definition ahead of the functions. I'd dearly like a better
way to do this - to change this would make for a massive set of changes to
the codebase.

There's still some warnings - this is purely to get rid of errors first.
Objects/bufferobject.c
Objects/classobject.c
Objects/enumobject.c
Objects/fileobject.c
Objects/floatobject.c
Objects/intobject.c
Objects/listobject.c
Objects/longobject.c