[Python-checkins] CVS: python/dist/src/Modules parsermodule.c,2.53,2.54 pyexpat.c,2.15,2.16
Tim Peters
python-dev@python.org
Sat, 26 Aug 2000 00:38:09 -0700
- Previous message: [Python-checkins] CVS: distutils/misc PythonPowered.bmp,NONE,1.1 archive.h,NONE,1.1 extract.c,NONE,1.1 wininst.exe,NONE,1.1 install.c,1.1,1.2 install.rc,1.1,1.2 resource.h,1.1,1.2 wininst.dsp,1.1,1.2 wininst.dsw,1.1,1.2
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_poll.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv29627/python/dist/src/modules
Modified Files:
parsermodule.c pyexpat.c
Log Message:
Try to supply a prototype for the module init function but avoid
Windows "inconsistent linkage" warnings at the same time. I agree
with Mark Hammond that the whole DL_IMPORT/DL_EXPORT macro system
needs an overhaul; this is just an expedient hack until then.
Index: parsermodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/parsermodule.c,v
retrieving revision 2.53
retrieving revision 2.54
diff -C2 -r2.53 -r2.54
*** parsermodule.c 2000/08/25 22:42:40 2.53
--- parsermodule.c 2000/08/26 07:38:06 2.54
***************
*** 2847,2851 ****
! DL_IMPORT(void) initparser(void);
DL_EXPORT(void)
--- 2847,2851 ----
! DL_EXPORT(void) initparser(void); /* supply a prototype */
DL_EXPORT(void)
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.15
retrieving revision 2.16
diff -C2 -r2.15 -r2.16
*** pyexpat.c 2000/08/25 18:03:30 2.15
--- pyexpat.c 2000/08/26 07:38:06 2.16
***************
*** 855,859 ****
/* Initialization function for the module */
! DL_IMPORT(void) initpyexpat(void);
DL_EXPORT(void)
--- 855,859 ----
/* Initialization function for the module */
! DL_EXPORT(void) initpyexpat(void); /* supply a prototype */
DL_EXPORT(void)
- Previous message: [Python-checkins] CVS: distutils/misc PythonPowered.bmp,NONE,1.1 archive.h,NONE,1.1 extract.c,NONE,1.1 wininst.exe,NONE,1.1 install.c,1.1,1.2 install.rc,1.1,1.2 resource.h,1.1,1.2 wininst.dsp,1.1,1.2 wininst.dsw,1.1,1.2
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_poll.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]