Skip to content

Commit 454475f

Browse files
author
mhammond
committed
Correct PyAPI_FUNC to PyAPI_DATA - sorry Jack.
git-svn-id: http://svn.python.org/projects/python/trunk@28159 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent d906c43 commit 454475f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Include/pythonrun.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ PyAPI_FUNC(void) PyOS_FiniInterrupts(void);
114114

115115
/* Stuff with no proper home (yet) */
116116
PyAPI_FUNC(char *) PyOS_Readline(char *);
117-
PyAPI_FUNC(int) (*PyOS_InputHook)(void);
118-
PyAPI_FUNC(char) *(*PyOS_ReadlineFunctionPointer)(char *);
117+
PyAPI_DATA(int) (*PyOS_InputHook)(void);
118+
PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(char *);
119119

120120
/* Stack size, in "pointers" (so we get extra safety margins
121121
on 64-bit platforms). On a 32-bit platform, this translates

0 commit comments

Comments
 (0)