[Python-checkins] python/dist/src/Modules bz2module.c,1.19,1.20 readline.c,2.62,2.63

Just van Rossum just@letterror.com
Thu, 17 Jul 2003 07:39:14 -0500


nnorwitz@users.sourceforge.net wrote:

> Index: readline.c
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/Modules/readline.c,v
> retrieving revision 2.62
> retrieving revision 2.63
> diff -C2 -d -r2.62 -r2.63
> *** readline.c    1 Mar 2003 15:19:41 -0000   2.62
> --- readline.c    1 Jul 2003 20:15:21 -0000   2.63
> ***************
> *** 33,38 ****
>   
>   /* Pointers needed from outside (but not declared in a header file).
*/
> ! extern DL_IMPORT(int) (*PyOS_InputHook)(void);
> ! extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE
*,char *);
>   
>   
> --- 33,38 ----
>   
>   /* Pointers needed from outside (but not declared in a header file).
*/
> ! PyAPI_FUNC(int) (*PyOS_InputHook)(void);
> ! PyAPI_FUNC(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE
*,char *);

Somehow this change breaks readline support in the interactive
interpreter on OSX. Can someone back it out?

Just