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

loewis at users.sourceforge.net loewis at users.sourceforge.net
Tue Jun 8 14:53:14 EDT 2004


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26461/Include
Modified Files:
	Python.h 
Added Files:
	pystrtod.h 
Log Message:
Patch #774665: Make Python LC_NUMERIC agnostic.
--- NEW FILE: pystrtod.h ---
#ifndef Py_STRTOD_H
#define Py_STRTOD_H
#ifdef __cplusplus
extern "C" {
#endif
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);
#ifdef __cplusplus
}
#endif
#endif /* !Py_STRTOD_H */
Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.62
retrieving revision 2.63
diff -C2 -d -r2.62 -r2.63
*** Python.h	13 Mar 2004 23:11:44 -0000	2.62
--- Python.h	8 Jun 2004 18:52:41 -0000	2.63
***************
*** 120,123 ****
--- 120,125 ----
 #include "eval.h"
 
+ #include "pystrtod.h"
+ 
 /* _Py_Mangle is defined in compile.c */
 PyAPI_FUNC(int) _Py_Mangle(char *p, char *name, \


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /