aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtQuick/pysidequickregistertype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/PySide2/QtQuick/pysidequickregistertype.cpp')
-rw-r--r--sources/pyside2/PySide2/QtQuick/pysidequickregistertype.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/sources/pyside2/PySide2/QtQuick/pysidequickregistertype.cpp b/sources/pyside2/PySide2/QtQuick/pysidequickregistertype.cpp
index dc4645487..acb733f73 100644
--- a/sources/pyside2/PySide2/QtQuick/pysidequickregistertype.cpp
+++ b/sources/pyside2/PySide2/QtQuick/pysidequickregistertype.cpp
@@ -88,16 +88,12 @@ struct QPysideQmlMetaTypeInterface : QtPrivate::QMetaTypeInterface
QPysideQmlMetaTypeInterface(const QByteArray &name, const QMetaObject *metaObject = nullptr)
: QMetaTypeInterface {
/*.revision=*/ 0,
- /*.size=*/ sizeof(T),
/*.alignment=*/ alignof(T),
+ /*.size=*/ sizeof(T),
/*.flags=*/ QtPrivate::QMetaTypeTypeFlags<T>::Flags,
+ /*.typeId=*/ 0,
/*.metaObject=*/ metaObject,
/*.name=*/ name.constData(),
- /*.typeId=*/ 0,
- /*.ref=*/ { Q_BASIC_ATOMIC_INITIALIZER(0) },
- /*.deleteSelf=*/ [](QMetaTypeInterface *self) {
- delete static_cast<QPysideQmlMetaTypeInterface *>(self);
- },
/*.defaultCtr=*/ [](const QMetaTypeInterface *, void *addr) { new (addr) T(); },
/*.copyCtr=*/ [](const QMetaTypeInterface *, void *addr, const void *other) {
new (addr) T(*reinterpret_cast<const T *>(other));
@@ -108,6 +104,11 @@ struct QPysideQmlMetaTypeInterface : QtPrivate::QMetaTypeInterface
/*.dtor=*/ [](const QMetaTypeInterface *, void *addr) {
reinterpret_cast<T *>(addr)->~T();
},
+ /*.equals=*/ nullptr,
+ /*.lessThan=*/ nullptr,
+ /*.debugStream=*/ nullptr,
+ /*.dataStreamOut=*/ nullptr,
+ /*.dataStreamIn=*/ nullptr,
/*.legacyRegisterOp=*/ nullptr
}
, name(name) {}