aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/libshiboken/basewrapper.h
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-11-29 15:03:16 +0100
committerChristian Tismer <tismer@stackless.com>2022-11-29 17:57:32 +0100
commit47a9622599822d5db2dd20f13f369c671c4c4fca (patch)
tree8ea86669a14f7d51dd5568c9c84c032e1a7fcb36 /sources/shiboken6/libshiboken/basewrapper.h
parent7377d2b8130ce7290775cd8a343e75c0561fc854 (diff)
__feature__: Remove the no longer efficient reserved_bits structure
The reserved_bits structure is no longer an optimization after moving to PyPy. Accessing any extra field involves always a dict lookup. - remove the reserved_bits field - re-order SbkObjectTypePrivate - replace access functions by currentSelectId() Task-number: PSYIDE-2029 Change-Id: I08642eace9a6399649c039bcc358ce678bbd4fd3 Pick-to: 6.4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken6/libshiboken/basewrapper.h')
-rw-r--r--sources/shiboken6/libshiboken/basewrapper.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sources/shiboken6/libshiboken/basewrapper.h b/sources/shiboken6/libshiboken/basewrapper.h
index 947bfdd1c..86806c917 100644
--- a/sources/shiboken6/libshiboken/basewrapper.h
+++ b/sources/shiboken6/libshiboken/basewrapper.h
@@ -61,10 +61,6 @@ typedef void (*SubTypeInitHook)(PyTypeObject *, PyObject *, PyObject *);
typedef void (*SelectableFeatureHook)(PyTypeObject *);
LIBSHIBOKEN_API SelectableFeatureHook initSelectableFeature(SelectableFeatureHook func);
-/// PYSIDE-1019: Get access to PySide reserved bits.
-LIBSHIBOKEN_API int SbkObjectType_GetReserved(PyTypeObject *type);
-LIBSHIBOKEN_API void SbkObjectType_SetReserved(PyTypeObject *type, int value);
-
/// PYSIDE-1626: Enforcing a context switch without further action.
LIBSHIBOKEN_API void SbkObjectType_UpdateFeature(PyTypeObject *type);