diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index 0266afb200a7..c2faf016e383 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -1688,6 +1688,9 @@ static PyTypeObject PyUNOType = #if PY_VERSION_HEX >= 0x030C00A1 , 0 // tp_watched #endif +#if PY_VERSION_HEX >= 0x030D00A4 + , 0 // tp_versions_used +#endif #endif #endif }; diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index 9b1550f7789b..3599fffb7cda 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -247,6 +247,9 @@ static PyTypeObject PyUNO_callable_Type = #if PY_VERSION_HEX >= 0x030C00A1 , 0 // tp_watched #endif +#if PY_VERSION_HEX >= 0x030D00A4 + , 0 // tp_versions_used +#endif #endif #endif }; diff --git a/pyuno/source/module/pyuno_iterator.cxx b/pyuno/source/module/pyuno_iterator.cxx index 2fc70a32fcff..392d00c7cbf4 100644 --- a/pyuno/source/module/pyuno_iterator.cxx +++ b/pyuno/source/module/pyuno_iterator.cxx @@ -180,6 +180,9 @@ static PyTypeObject PyUNO_iterator_Type = #if PY_VERSION_HEX >= 0x030C00A1 , 0 // tp_watched #endif +#if PY_VERSION_HEX >= 0x030D00A4 + , 0 // tp_versions_used +#endif #endif #endif }; @@ -329,6 +332,9 @@ static PyTypeObject PyUNO_list_iterator_Type = #if PY_VERSION_HEX >= 0x030C00A1 , 0 // tp_watched #endif +#if PY_VERSION_HEX >= 0x030D00A4 + , 0 // tp_versions_used +#endif #endif #endif }; diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 5e98cc434d8f..c3fd51940e53 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -142,6 +142,9 @@ static PyTypeObject RuntimeImpl_Type = #if PY_VERSION_HEX >= 0x030C00A1 , 0 // tp_watched #endif +#if PY_VERSION_HEX >= 0x030D00A4 + , 0 // tp_versions_used +#endif #endif #endif }; diff --git a/pyuno/source/module/pyuno_struct.cxx b/pyuno/source/module/pyuno_struct.cxx index 937345ac87b7..6cba8664bb0a 100644 --- a/pyuno/source/module/pyuno_struct.cxx +++ b/pyuno/source/module/pyuno_struct.cxx @@ -372,6 +372,9 @@ static PyTypeObject PyUNOStructType = #if PY_VERSION_HEX >= 0x030C00A1 , 0 // tp_watched #endif +#if PY_VERSION_HEX >= 0x030D00A4 + , 0 // tp_versions_used +#endif #endif #endif };