summaryrefslogtreecommitdiff
path: root/Include/pystrtod.h
diff options
context:
space:
mode:
authorJason Tishler <jason@tishler.net>2004-08-09 15:02:30 +0000
committerJason Tishler <jason@tishler.net>2004-08-09 15:02:30 +0000
commit0d2a75c7b867fca895ac420db3585297c51864c7 (patch)
tree535d6154a35baa65c940d8f8be28cf408fc64456 /Include/pystrtod.h
parent7f203b847b727ca36f05f75b53801f43bd02c5d8 (diff)
downloadcpython-git-0d2a75c7b867fca895ac420db3585297c51864c7.tar.gz
Patch #1006003: Cygwin standard module build problems
Add missing PyAPI_FUNC/PyAPI_DATA macros.
Diffstat (limited to 'Include/pystrtod.h')
-rw-r--r--Include/pystrtod.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/pystrtod.h b/Include/pystrtod.h
index e4e5e5278b..5314f269a1 100644
--- a/Include/pystrtod.h
+++ b/Include/pystrtod.h
@@ -6,9 +6,9 @@ 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);
+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);
#ifdef __cplusplus