Skip to content

Commit ffa7aff

Browse files
committed
Add additional fields to Xxo_Type declaration. Fixes bug #469250.
1 parent 6ec9a36 commit ffa7aff

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Modules/xxmodule.c

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,37 @@ statichere PyTypeObject Xxo_Type = {
112112
0, /*tp_as_sequence*/
113113
0, /*tp_as_mapping*/
114114
0, /*tp_hash*/
115+
0, /*tp_call*/
116+
0, /*tp_str*/
117+
0, /*tp_getattro*/
118+
0, /*tp_setattro*/
119+
0, /*tp_as_buffer*/
120+
Py_TPFLAGS_DEFAULT, /*tp_flags*/
121+
0, /*tp_doc*/
122+
0, /*tp_traverse*/
123+
0, /*tp_clear*/
124+
0, /*tp_richcompare*/
125+
0, /*tp_weaklistoffset*/
126+
0, /*tp_iter*/
127+
0, /*tp_iternext*/
128+
0, /*tp_methods*/
129+
0, /*tp_members*/
130+
0, /*tp_getset*/
131+
0, /*tp_base*/
132+
0, /*tp_dict*/
133+
0, /*tp_descr_get*/
134+
0, /*tp_descr_set*/
135+
0, /*tp_dictoffset*/
136+
0, /*tp_init*/
137+
0, /*tp_alloc*/
138+
0, /*tp_new*/
139+
0, /*tp_free*/
140+
0, /*tp_is_gc*/
141+
0, /*tp_bases*/
142+
0, /*tp_mro*/
143+
0, /*tp_defined*/
144+
0, /*tp_subclasses*/
145+
0, /*tp_weaklist*/
115146
};
116147
/* --------------------------------------------------------------------- */
117148

0 commit comments

Comments
 (0)