#include #include #include "gen_qshareddata.h" #include "_cgo_export.h" void QSharedData_new(QSharedData** outptr_QSharedData) { QSharedData* ret = new QSharedData(); *outptr_QSharedData = ret; } void QSharedData_new2(QSharedData* param1, QSharedData** outptr_QSharedData) { QSharedData* ret = new QSharedData(*param1); *outptr_QSharedData = ret; } void QSharedData_Delete(QSharedData* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }