mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
This commit is contained in:
parent
019f0a0cb8
commit
e502451781
13 changed files with 33 additions and 31 deletions
|
|
@ -245,7 +245,7 @@ EVP_hexdigest(EVPobject *self, PyObject *unused)
|
|||
|
||||
EVP_MD_CTX_free(temp_ctx);
|
||||
|
||||
return _Py_strhex((const char *)digest, digest_size);
|
||||
return _Py_strhex((const char *)digest, (Py_ssize_t)digest_size);
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(EVP_update__doc__,
|
||||
|
|
|
|||
|
|
@ -1170,6 +1170,6 @@ PyTypeObject PyWindowsConsoleIO_Type = {
|
|||
0, /* tp_finalize */
|
||||
};
|
||||
|
||||
PyAPI_DATA(PyObject *) _PyWindowsConsoleIO_Type = (PyObject*)&PyWindowsConsoleIO_Type;
|
||||
PyObject * _PyWindowsConsoleIO_Type = (PyObject*)&PyWindowsConsoleIO_Type;
|
||||
|
||||
#endif /* MS_WINDOWS */
|
||||
|
|
|
|||
|
|
@ -488,8 +488,8 @@ PyOS_AfterFork(void)
|
|||
|
||||
#ifdef MS_WINDOWS
|
||||
/* defined in fileutils.c */
|
||||
PyAPI_FUNC(void) _Py_time_t_to_FILE_TIME(time_t, int, FILETIME *);
|
||||
PyAPI_FUNC(void) _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *,
|
||||
void _Py_time_t_to_FILE_TIME(time_t, int, FILETIME *);
|
||||
void _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *,
|
||||
ULONG, struct _Py_stat_struct *);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue