Adding tp_finalize field to PyTypeObject for Python version 3.4 and up
This commit is contained in:
parent
00ca9c07d1
commit
e79349d886
3 changed files with 12 additions and 0 deletions
|
|
@ -435,6 +435,9 @@ SwigPyStaticVar_Type(void) {
|
|||
#if PY_VERSION_HEX >= 0x02060000
|
||||
0, /* tp_version */
|
||||
#endif
|
||||
#if PY_VERSION_HEX >= 0x03040000
|
||||
0, /* tp_finalize */
|
||||
#endif
|
||||
#ifdef COUNT_ALLOCS
|
||||
0,0,0,0 /* tp_alloc -> tp_next */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue