miqt/qt/gen_qnamespace.cpp

21 lines
309 B
C++
Raw Normal View History

#include <QInternal>
#include <qnamespace.h>
2024-08-29 19:01:51 +12:00
#include "gen_qnamespace.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
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;
}
}