miqt/qt/gen_qnamespace.cpp

14 lines
250 B
C++
Raw Normal View History

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