]> granicus.if.org Git - python/commitdiff
Correct PyAPI_FUNC to PyAPI_DATA - sorry Jack.
authorMark Hammond <mhammond@skippinet.com.au>
Mon, 12 Aug 2002 13:06:35 +0000 (13:06 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Mon, 12 Aug 2002 13:06:35 +0000 (13:06 +0000)
Include/pythonrun.h

index 1ee706f8c0c54ff57467a1b303d301d28bc9096d..98965b52a66297ae4ae2088b8e48834d78ce7162 100644 (file)
@@ -114,8 +114,8 @@ PyAPI_FUNC(void) PyOS_FiniInterrupts(void);
 
 /* Stuff with no proper home (yet) */
 PyAPI_FUNC(char *) PyOS_Readline(char *);
-PyAPI_FUNC(int) (*PyOS_InputHook)(void);
-PyAPI_FUNC(char) *(*PyOS_ReadlineFunctionPointer)(char *);
+PyAPI_DATA(int) (*PyOS_InputHook)(void);
+PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(char *);
 
 /* Stack size, in "pointers" (so we get extra safety margins
    on 64-bit platforms).  On a 32-bit platform, this translates