[Python-checkins] python/dist/src/Include pystrtod.h, 2.1, 2.2 pythonrun.h, 2.62, 2.63

jlt63 at users.sourceforge.net jlt63 at users.sourceforge.net
Mon Aug 9 17:02:43 CEST 2004


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16182

Modified Files:
	pystrtod.h pythonrun.h 
Log Message:
Patch #1006003: Cygwin standard module build problems

Add missing PyAPI_FUNC/PyAPI_DATA macros.


Index: pystrtod.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pystrtod.h,v
retrieving revision 2.1
retrieving revision 2.2
diff -C2 -d -r2.1 -r2.2
*** pystrtod.h	8 Jun 2004 18:52:41 -0000	2.1
--- pystrtod.h	9 Aug 2004 15:02:29 -0000	2.2
***************
*** 7,13 ****
  
  
! double PyOS_ascii_strtod(const char *str, char **ptr);
! double PyOS_ascii_atof(const char *str);
! char * PyOS_ascii_formatd(char *buffer, int buf_len,  const char *format, double d);
  
  
--- 7,13 ----
  
  
! PyAPI_FUNC(double) PyOS_ascii_strtod(const char *str, char **ptr);
! PyAPI_FUNC(double) PyOS_ascii_atof(const char *str);
! PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, int buf_len,  const char *format, double d);
  
  

Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.62
retrieving revision 2.63
diff -C2 -d -r2.62 -r2.63
*** pythonrun.h	13 Feb 2003 22:07:52 -0000	2.62
--- pythonrun.h	9 Aug 2004 15:02:30 -0000	2.63
***************
*** 122,125 ****
--- 122,126 ----
  PyAPI_DATA(int) (*PyOS_InputHook)(void);
  PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *);
+ PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
  
  /* Stack size, in "pointers" (so we get extra safety margins



More information about the Python-checkins mailing list