diff options
Diffstat (limited to 'pyuno/source')
-rw-r--r-- | pyuno/source/module/pyuno.cxx | 3 | ||||
-rw-r--r-- | pyuno/source/module/pyuno_callable.cxx | 3 | ||||
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index ddec283f0d52..d1cf112fda91 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -693,6 +693,9 @@ static PyTypeObject PyUNOType = NULL, NULL, (destructor)0 +#if PY_VERSION_HEX >= 0x02060000 + , 0 +#endif }; PyRef getPyUnoClass( const Runtime &) diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index b7d2b595e1d2..bb558bf64411 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -245,6 +245,9 @@ static PyTypeObject PyUNO_callable_Type = NULL, NULL, (destructor)0 +#if PY_VERSION_HEX >= 0x02060000 + , 0 +#endif }; PyRef PyUNO_callable_new ( diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index fd5cf2030868..3a93cb91eaf7 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -119,6 +119,9 @@ static PyTypeObject RuntimeImpl_Type = NULL, NULL, (destructor)0 +#if PY_VERSION_HEX >= 0x02060000 + , 0 +#endif }; /*---------------------------------------------------------------------- |