[Python-checkins] python/dist/src/Modules bz2module.c,1.19,1.20 readline.c,2.62,2.63

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Tue, 01 Jul 2003 13:15:23 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv22688/Modules

Modified Files:
	bz2module.c readline.c 
Log Message:
Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros


Index: bz2module.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/bz2module.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** bz2module.c	3 May 2003 09:14:53 -0000	1.19
--- bz2module.c	1 Jul 2003 20:15:21 -0000	1.20
***************
*** 2168,2172 ****
  ");
  
! DL_EXPORT(void)
  initbz2(void)
  {
--- 2168,2172 ----
  ");
  
! PyMODINIT_FUNC
  initbz2(void)
  {

Index: readline.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/readline.c,v
retrieving revision 2.62
retrieving revision 2.63
diff -C2 -d -r2.62 -r2.63
*** readline.c	1 Mar 2003 15:19:41 -0000	2.62
--- readline.c	1 Jul 2003 20:15:21 -0000	2.63
***************
*** 33,38 ****
  
  /* Pointers needed from outside (but not declared in a header file). */
! extern DL_IMPORT(int) (*PyOS_InputHook)(void);
! extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *,char *);
  
  
--- 33,38 ----
  
  /* Pointers needed from outside (but not declared in a header file). */
! PyAPI_FUNC(int) (*PyOS_InputHook)(void);
! PyAPI_FUNC(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *,char *);