mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros
This commit is contained in:
parent
59aba128a5
commit
21d896cfa1
4 changed files with 5 additions and 5 deletions
|
@ -32,8 +32,8 @@
|
|||
#endif
|
||||
|
||||
/* 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 *);
|
||||
PyAPI_FUNC(int) (*PyOS_InputHook)(void);
|
||||
PyAPI_FUNC(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *,char *);
|
||||
|
||||
|
||||
/* Exported function to send one line to readline's init file parser */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue