From e0e92db0cfe189faaa3c405ad25a3b73f61c5b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Ku=C4=8Dera?= Date: Tue, 7 Jan 2025 09:24:57 +0100 Subject: [PATCH] reflect PyDescr_COMMON change made to Python 3.3+ --- Source/PythonEngine.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/PythonEngine.pas b/Source/PythonEngine.pas index 18928cf..b93bd9e 100644 --- a/Source/PythonEngine.pas +++ b/Source/PythonEngine.pas @@ -539,6 +539,7 @@ type PyObject_HEAD \ PyTypeObject *d_type; \ PyObject *d_name + PyObject *d_qualname } PPyDescrObject = ^PyDescrObject; @@ -549,6 +550,7 @@ type // End of the Head of an object d_type : PPyTypeObject; d_name : PPyObject; + d_qualname : PPyObject; end; PPyMethodDescrObject = ^PyMethodDescrObject; @@ -560,6 +562,7 @@ type // End of the Head of an object d_type : PPyTypeObject; d_name : PPyObject; + d_qualname : PPyObject; // End of PyDescr_COMMON d_method : PPyMethodDef; end; @@ -573,6 +576,7 @@ type // End of the Head of an object d_type : PPyTypeObject; d_name : PPyObject; + d_qualname : PPyObject; // End of PyDescr_COMMON d_member : PPyMemberDef; end; @@ -586,6 +590,7 @@ type // End of the Head of an object d_type : PPyTypeObject; d_name : PPyObject; + d_qualname : PPyObject; // End of PyDescr_COMMON d_getset : PPyGetSetDef; end; @@ -599,6 +604,7 @@ type // End of the Head of an object d_type : PPyTypeObject; d_name : PPyObject; + d_qualname : PPyObject; // End of PyDescr_COMMON d_base : pwrapperbase; d_wrapped : Pointer; // This can be any function pointer -- 2.25.1.windows.1