miqt/qt/gen_qnamespace.cpp

18 lines
291 B
C++
Raw Normal View History

#include <QInternal>
#include <qnamespace.h>
2024-08-29 07:01:51 +00:00
#include "gen_qnamespace.h"
#ifndef _Bool
#define _Bool bool
#endif
#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;
}
}