mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
14 lines
250 B
C++
14 lines
250 B
C++
#include <QInternal>
|
|
#include <qnamespace.h>
|
|
#include "gen_qnamespace.h"
|
|
#include "_cgo_export.h"
|
|
|
|
void QInternal_Delete(QInternal* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<QInternal*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|