[Python-checkins] python/dist/src/Modules _sre.c,2.81,2.82 pyexpat.c,2.69,2.70
mhammond@users.sourceforge.net
mhammond@users.sourceforge.net
Thu, 18 Jul 2002 23:55:43 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv15103/Modules
Modified Files:
_sre.c pyexpat.c
Log Message:
Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Index: _sre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_sre.c,v
retrieving revision 2.81
retrieving revision 2.82
diff -C2 -d -r2.81 -r2.82
*** _sre.c 17 Jul 2002 16:30:35 -0000 2.81
--- _sre.c 19 Jul 2002 06:55:41 -0000 2.82
***************
*** 2980,2985 ****
};
! DL_EXPORT(void)
! init_sre(void)
{
PyObject* m;
--- 2980,2984 ----
};
! PyMODINIT_FUNC init_sre(void)
{
PyObject* m;
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.69
retrieving revision 2.70
diff -C2 -d -r2.69 -r2.70
*** pyexpat.c 17 Jul 2002 16:49:03 -0000 2.69
--- pyexpat.c 19 Jul 2002 06:55:41 -0000 2.70
***************
*** 1584,1591 ****
#endif
! void MODULE_INITFUNC(void); /* avoid compiler warnings */
! DL_EXPORT(void)
! MODULE_INITFUNC(void)
{
PyObject *m, *d;
--- 1584,1590 ----
#endif
! PyMODINIT_FUNC MODULE_INITFUNC(void); /* avoid compiler warnings */
! PyMODINIT_FUNC MODULE_INITFUNC(void)
{
PyObject *m, *d;