Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with

a macro if Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.  Added functions
PySlice_Unpack() and PySlice_AdjustIndices().
This commit is contained in:
Serhiy Storchaka 2017-01-25 13:27:44 +02:00
commit 6e08baf12d
6 changed files with 119 additions and 26 deletions

View file

@ -531,10 +531,12 @@ EXPORTS
PySet_Pop=python37.PySet_Pop
PySet_Size=python37.PySet_Size
PySet_Type=python37.PySet_Type DATA
PySlice_AdjustIndices=python37.PySlice_AdjustIndices
PySlice_GetIndices=python37.PySlice_GetIndices
PySlice_GetIndicesEx=python37.PySlice_GetIndicesEx
PySlice_New=python37.PySlice_New
PySlice_Type=python37.PySlice_Type DATA
PySlice_Unpack=python37.PySlice_Unpack
PySortWrapper_Type=python37.PySortWrapper_Type DATA
PyState_AddModule=python37.PyState_AddModule
PyState_FindModule=python37.PyState_FindModule