patch 9.1.1256: if_python: duplicate tuple data entries
Problem: if_python: duplicate tuple data entries
(after v9.1.1239)
Solution: clean up duplicates (Yegappan Lakshmanan)
closes: #17004
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/if_python.c b/src/if_python.c
index 5a5e6ea..aa496f2 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -210,9 +210,6 @@
# define PySequence_Size dll_PySequence_Size
# define PySequence_GetItem dll_PySequence_GetItem
# define PySequence_Fast dll_PySequence_Fast
-# define PyTuple_Size dll_PyTuple_Size
-# define PyTuple_GetItem dll_PyTuple_GetItem
-# define PyTuple_Type (*dll_PyTuple_Type)
# define PySlice_GetIndicesEx dll_PySlice_GetIndicesEx
# define PyImport_ImportModule dll_PyImport_ImportModule
# define PyDict_New dll_PyDict_New
@@ -556,9 +553,6 @@
{"PySequence_Check", (PYTHON_PROC*)&dll_PySequence_Check},
{"PySequence_GetItem", (PYTHON_PROC*)&dll_PySequence_GetItem},
{"PySequence_Fast", (PYTHON_PROC*)&dll_PySequence_Fast},
- {"PyTuple_GetItem", (PYTHON_PROC*)&dll_PyTuple_GetItem},
- {"PyTuple_Size", (PYTHON_PROC*)&dll_PyTuple_Size},
- {"PyTuple_Type", (PYTHON_PROC*)&dll_PyTuple_Type},
{"PySlice_GetIndicesEx", (PYTHON_PROC*)&dll_PySlice_GetIndicesEx},
{"PyImport_ImportModule", (PYTHON_PROC*)&dll_PyImport_ImportModule},
{"PyDict_GetItemString", (PYTHON_PROC*)&dll_PyDict_GetItemString},
diff --git a/src/version.c b/src/version.c
index d8e55f9..2a83869 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1256,
+/**/
1255,
/**/
1254,