miqt/qt/gen_qnamespace.cpp

14 lines
250 B
C++
Raw Normal View History

#include <QInternal>
#include <qnamespace.h>
2024-08-29 19:01:51 +12:00
#include "gen_qnamespace.h"
#include "_cgo_export.h"
2024-11-19 19:29:06 +13:00
void QInternal_Delete(QInternal* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QInternal*>( self );
} else {
delete self;
}
}