mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +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
|
|
@ -2167,7 +2167,7 @@ interface, one shot (de)compression functions, and types for\n\
|
|||
sequential (de)compression.\n\
|
||||
");
|
||||
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
initbz2(void)
|
||||
{
|
||||
PyObject *m;
|
||||
|
|
|
|||
|
|
@ -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