Py3.12: initialize field 'tp_watched'

This commit is contained in:
wmayer
2024-02-07 15:58:28 +01:00
committed by Chris Hennes
parent 0158b6fd2a
commit ca03d18355
4 changed files with 15 additions and 1 deletions

View File

@@ -45,7 +45,9 @@
virtual ~_class_(); \
};
#if PY_VERSION_HEX >= 0x03090000
#if PY_VERSION_HEX >= 0x030c0000
#define PYTHON_TYPE_SLOTS 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
#elif PY_VERSION_HEX >= 0x03090000
#define PYTHON_TYPE_SLOTS 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
#elif PY_VERSION_HEX >= 0x03080000
#define PYTHON_TYPE_SLOTS 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0