miqt/qt6/gen_qpropertyprivate.cpp

27 lines
583 B
C++
Raw Normal View History

2024-10-20 05:21:03 +00:00
#include <QPropertyProxyBindingData>
#include <QUntypedPropertyData>
#include <qpropertyprivate.h>
#include "gen_qpropertyprivate.h"
#ifndef _Bool
#define _Bool bool
#endif
2024-10-20 05:21:03 +00:00
#include "_cgo_export.h"
2024-11-19 06:29:06 +00:00
void QUntypedPropertyData_Delete(QUntypedPropertyData* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QUntypedPropertyData*>( self );
} else {
delete self;
}
2024-10-20 05:21:03 +00:00
}
2024-11-19 06:29:06 +00:00
void QPropertyProxyBindingData_Delete(QPropertyProxyBindingData* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QPropertyProxyBindingData*>( self );
} else {
delete self;
}
2024-10-20 05:21:03 +00:00
}