We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 498e8bb commit b13e464Copy full SHA for b13e464
Lib/test/_testcppext.cpp
@@ -158,10 +158,11 @@ PyType_Slot VirtualPyObject_Slots[] = {
158
};
159
160
PyType_Spec VirtualPyObject_Spec = {
161
- .name = STR(NAME) ".VirtualPyObject",
162
- .basicsize = sizeof(VirtualPyObject),
163
- .flags = Py_TPFLAGS_DEFAULT,
164
- .slots = VirtualPyObject_Slots,
+ /* .name */ STR(NAME) ".VirtualPyObject",
+ /* .basicsize */ sizeof(VirtualPyObject),
+ /* .itemsize */ 0,
+ /* .flags */ Py_TPFLAGS_DEFAULT,
165
+ /* .slots */ VirtualPyObject_Slots,
166
167
168
VirtualPyObject::VirtualPyObject() {
0 commit comments