#include #include #include #include "gen_qplugin.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern C */ #endif QJsonObject* QStaticPlugin_MetaData(const QStaticPlugin* self) { return new QJsonObject(self->metaData()); } void QStaticPlugin_Delete(QStaticPlugin* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }