miqt/qt/gen_qplugin.cpp

19 lines
394 B
C++
Raw Normal View History

#include <QJsonObject>
#include <QStaticPlugin>
#include <qplugin.h>
2024-08-29 07:01:51 +00:00
#include "gen_qplugin.h"
#include "_cgo_export.h"
QJsonObject* QStaticPlugin_MetaData(const QStaticPlugin* self) {
return new QJsonObject(self->metaData());
}
2024-11-19 06:29:06 +00:00
void QStaticPlugin_Delete(QStaticPlugin* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QStaticPlugin*>( self );
} else {
delete self;
}
}