diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-01-15 13:13:03 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-01-16 11:20:58 +0100 |
| commit | 8900ff4f627cfa9b0ff2627ba65a655e9ac8c0a8 (patch) | |
| tree | 2da6e012bc6d01033c681bff1743ae601c0dac94 /sources/pyside6/libpyside/dynamicqmetaobject.cpp | |
| parent | 68b51b8c9979ceae4367566e476fc50bb5821a05 (diff) | |
Add PepType_GetSlot() wrapping PyType_GetSlot()
PyTypeObject is not exposed in the stable API; PyType_GetSlot()
should be used to retrieve the slots. Unfortunately it only works
for heap types up until 3.10, so introduce a helper
PepType_GetSlot() that replicates the old code depending on runtime
version.
Task-number: PYSIDE-560
Change-Id: I5724b4b868c08b81ba4e2b908fca9ae5419e17b9
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/libpyside/dynamicqmetaobject.cpp')
0 files changed, 0 insertions, 0 deletions
