Skip to content

Commit 7bdf7fa

Browse files
committed
Sync TupleOfInstances
1 parent 93b0984 commit 7bdf7fa

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/TupleOfInstances.cxx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ PyTypeObject InstanceArrayIter_Type = {
9292
sizeof(ia_iterobject), // tp_basicsize
9393
0,
9494
(destructor)PyObject_GC_Del, // tp_dealloc
95-
0, 0, 0, 0, 0, 0, 0,
95+
0, 0, 0, 0, 0, 0, 0,
9696
&ia_as_mapping, // tp_as_mapping
9797
0, 0, 0, 0, 0, 0,
9898
Py_TPFLAGS_DEFAULT |
@@ -114,6 +114,12 @@ PyTypeObject InstanceArrayIter_Type = {
114114
#if PY_VERSION_HEX >= 0x03040000
115115
, 0 // tp_finalize
116116
#endif
117+
#if PY_VERSION_HEX >= 0x03080000
118+
, 0 // tp_vectorcall
119+
#endif
120+
#if PY_VERSION_HEX >= 0x030c0000
121+
, 0 // tp_watched
122+
#endif
117123
};
118124

119125

@@ -242,6 +248,12 @@ PyTypeObject TupleOfInstances_Type = {
242248
#if PY_VERSION_HEX >= 0x03040000
243249
, 0 // tp_finalize
244250
#endif
251+
#if PY_VERSION_HEX >= 0x03080000
252+
, 0 // tp_vectorcall
253+
#endif
254+
#if PY_VERSION_HEX >= 0x030c0000
255+
, 0 // tp_watched
256+
#endif
245257
};
246258

247259
} // namespace CPyCppyy

0 commit comments

Comments
 (0)