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
|
#if PY_VERSION_HEX >= 0x02060000
|
||||||
0, /* tp_version */
|
0, /* tp_version */
|
||||||
#endif
|
#endif
|
||||||
|
#if PY_VERSION_HEX >= 0x03040000
|
||||||
|
0, /* tp_finalize */
|
||||||
|
#endif
|
||||||
#ifdef COUNT_ALLOCS
|
#ifdef COUNT_ALLOCS
|
||||||
0,0,0,0 /* tp_alloc -> tp_next */
|
0,0,0,0 /* tp_alloc -> tp_next */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,9 @@ swig_varlink_type(void) {
|
||||||
#if PY_VERSION_HEX >= 0x02060000
|
#if PY_VERSION_HEX >= 0x02060000
|
||||||
0, /* tp_version */
|
0, /* tp_version */
|
||||||
#endif
|
#endif
|
||||||
|
#if PY_VERSION_HEX >= 0x03040000
|
||||||
|
0, /* tp_finalize */
|
||||||
|
#endif
|
||||||
#ifdef COUNT_ALLOCS
|
#ifdef COUNT_ALLOCS
|
||||||
0,0,0,0 /* tp_alloc -> tp_next */
|
0,0,0,0 /* tp_alloc -> tp_next */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -806,6 +806,9 @@ SwigPyObject_TypeOnce(void) {
|
||||||
#if PY_VERSION_HEX >= 0x02060000
|
#if PY_VERSION_HEX >= 0x02060000
|
||||||
0, /* tp_version */
|
0, /* tp_version */
|
||||||
#endif
|
#endif
|
||||||
|
#if PY_VERSION_HEX >= 0x03040000
|
||||||
|
0, /* tp_finalize */
|
||||||
|
#endif
|
||||||
#ifdef COUNT_ALLOCS
|
#ifdef COUNT_ALLOCS
|
||||||
0,0,0,0 /* tp_alloc -> tp_next */
|
0,0,0,0 /* tp_alloc -> tp_next */
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -985,6 +988,9 @@ SwigPyPacked_TypeOnce(void) {
|
||||||
#if PY_VERSION_HEX >= 0x02060000
|
#if PY_VERSION_HEX >= 0x02060000
|
||||||
0, /* tp_version */
|
0, /* tp_version */
|
||||||
#endif
|
#endif
|
||||||
|
#if PY_VERSION_HEX >= 0x03040000
|
||||||
|
0, /* tp_finalize */
|
||||||
|
#endif
|
||||||
#ifdef COUNT_ALLOCS
|
#ifdef COUNT_ALLOCS
|
||||||
0,0,0,0 /* tp_alloc -> tp_next */
|
0,0,0,0 /* tp_alloc -> tp_next */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue